Re: Call constructor from route

2012-11-26 Thread JasonN
nt a processor but that seems unnecessarily verbose (and generally >> camel seems very good at keeping things concise+convenient). >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Call-constructor-from-route-tp5723059p5723063.

Re: Call constructor from route

2012-11-21 Thread Christian Müller
> > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Call-constructor-from-route-tp5723059p5723063.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: Call constructor from route

2012-11-21 Thread JasonN
or or implement a processor but that seems unnecessarily verbose (and generally camel seems very good at keeping things concise+convenient). -- View this message in context: http://camel.465427.n5.nabble.com/Call-constructor-from-route-tp5723059p5723063.html Sent from the Camel - Users mailing

Re: Call constructor from route

2012-11-21 Thread Claus Ibsen
ks! > Thats not supported. A constructor doesn't return an value etc. So it doesn't make much sense. You can have a default no-arg ctr, and then invoke a method instead. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Call-constructor-fr

Call constructor from route

2012-11-21 Thread JasonN
Hi, I am able to call a static method from a route but can someone please advise on how to call a constructor? e.g.: Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Call-constructor-from-route-tp5723059.html Sent from the Camel - Users