Apache Camel Endpoint injection to direct route "No consumers available on endpoint"
According to your setup, it might also depend on the CamelContext
you have picked up. I got the same error message because I was sending messages on a route that existed in another CamelContext
than the one I actually was using.
(Although the previous answer was already accepted, this might be the working solution for other people searching for that error message.)
It sounds like a problem with the startup ordering of your routes. See more detail here http://camel.apache.org/configuring-route-startup-ordering-and-autostartup.html
You can configure the "direct" route to start before the other route, then that issue should be resolved.