Re: Handling ConnectException at route startup

2014-01-10 Thread Claus Ibsen
eption { > System.out.println("Init Poll!"); > } > } > > None of the methods in pollingStrategy were called. Any idea what could be > the problem? > They are only used on the ftp consumer (eg from in a route). > Regards, > Bijoy > &g

Re: Handling ConnectException at route startup

2014-01-10 Thread bijoy
ystem.out.println("Init Poll!"); } } None of the methods in pollingStrategy were called. Any idea what could be the problem? Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Handling-ConnectException-at-route-startup-tp5745762p5745832.html Se

Re: Handling ConnectException at route startup

2014-01-09 Thread Claus Ibsen
y your solution if you do found any. I would go >> in the direction having a class starting the camelcontext and catching >> exception but I am even not sure that something would be thrown at that >> level ... >> >> >> >> -- >> View this message in cont

Re: Handling ConnectException at route startup

2014-01-09 Thread Christian Posta
> in the direction having a class starting the camelcontext and catching > exception but I am even not sure that something would be thrown at that > level ... > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Handling-ConnectException-at-route

Re: Handling ConnectException at route startup

2014-01-09 Thread baudoust
://camel.465427.n5.nabble.com/Handling-ConnectException-at-route-startup-tp5745762p5745787.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Handling ConnectException at route startup

2014-01-09 Thread bijoy
handle those exceptions globally? Regards, Bijoy -- View this message in context: http://camel.465427.n5.nabble.com/Handling-ConnectException-at-route-startup-tp5745762p5745782.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Handling ConnectException at route startup

2014-01-09 Thread baudoust
helps ... Regards. -- View this message in context: http://camel.465427.n5.nabble.com/Handling-ConnectException-at-route-startup-tp5745762p5745780.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Handling ConnectException at route startup

2014-01-09 Thread bijoy
But I don't want to create exception > listeners for individual component. Instead is there any way to globally > handle such ConnectException be it thrown by JMS, FTP or REST or by any > other network component? > > Thanks for short feedback! > > Regards, > Bijoy >

Handling ConnectException at route startup

2014-01-08 Thread bijoy
http://camel.465427.n5.nabble.com/Handling-ConnectException-at-route-startup-tp5745762.html Sent from the Camel - Users mailing list archive at Nabble.com.