try specifying an explicit 
http://camel.apache.org/configuring-route-startup-ordering-and-autostartup.html
startup order  to your routes to make sure the direct consumer route is
started prior to the route that reads from the queue...


bbuzzard wrote:
> 
> I'm receiving files from an ActiveMQ queue, directing the files to a
> direct endpoint which in turns sends the files back to a output ActiveMQ
> queue.  This works great and I haven't had problems until last Friday when
> I made a modification to the camel.xml file.  When I restarted ActiveMQ I
> checked the logs and it indicates that camel could not find the
> direct:DstAs2 end, but a few minutes later it did find it and
> automatically started working perfectly.  I'll attach a snippet of my log
> so you can see what I see.
> http://camel.465427.n5.nabble.com/file/n4794889/DIRECT_ERROR.txt
> DIRECT_ERROR.txt 
> 
> I assume that the message was inflight between the inbound queue and the
> direct:DstAs2 end point, but the direct:DstAs2 end point was not
> completely up yet.  Can anyone explain to me how this happens?  More
> importantly how to avoid it?
> 


-----
Ben O'Day
IT Consultant -http://consulting-notes.com

--
View this message in context: 
http://camel.465427.n5.nabble.com/No-consumers-available-for-direct-endpoint-on-start-tp4794889p4795886.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to