Re: Re: DirectConsumerNotAvailableException: No consumers available on endpoint

2018-05-05 Thread Martin Lichtin
Thanks, the block option for the direct: component helped. However, in general, there's a more apparent timing issue after the version upgrade. If the CamelContext is not ready, then one cannot start routes. I had to resort to registering a "StartupListener" to be notified, before trying to sta

Re: DirectConsumerNotAvailableException: No consumers available on endpoint

2018-04-26 Thread Alex Dettinger
You may be interested in routes startupOrder or the block option

DirectConsumerNotAvailableException: No consumers available on endpoint

2018-04-26 Thread Martin Lichtin
After upgrading from 2.18 to 2.19.5, I'm often seeing this exception at startup. It looks like the auto-started route is not immediately ready? Using a producer template, it can happen that "DirectConsumerNotAvailableException" is thrown. At next try (e.g. a second later) it works. How can this

Re: Not sure why I get DirectConsumerNotAvailableException: No consumers available on endpoint

2015-08-18 Thread apara
ge in context: http://camel.465427.n5.nabble.com/Not-sure-why-I-get-DirectConsumerNotAvailableException-No-consumers-available-on-endpoint-tp5770808p5770810.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Not sure why I get DirectConsumerNotAvailableException: No consumers available on endpoint

2015-08-18 Thread apara
return producerTemplate; -AP_ -- View this message in context: http://camel.465427.n5.nabble.com/Not-sure-why-I-get-DirectConsumerNotAvailableException-No-consumers-available-on-endpoint-tp5770808p5770809.html Sent from the Camel - Users mailing list archive at Nabble.com.

Not sure why I get DirectConsumerNotAvailableException: No consumers available on endpoint

2015-08-18 Thread apara
y hints of where to look or what I am missing would be greatly appreciated. Thanks. -AP_ -- View this message in context: http://camel.465427.n5.nabble.com/Not-sure-why-I-get-DirectConsumerNotAvailableException-No-consumers-available-on-endpoint-tp5770808.html Sent from the Camel - Users mailing list archive at Nabble.com.