It's worth noting that if you are not in the context of a test, then making
use of the "direct" component will not allow for the route to be called
externally. 

If you are calling this from a unit test, then you will be able to call your
route with a producer template for template.sendBody("direct:start", "hi");
Some more information is here about producer templates -
http://camel.apache.org/producertemplate.html

For the quickest 'hello world', you should probably make use of the timer
component to automatically invoke the camel route every few seconds :)



--
View this message in context: 
http://camel.465427.n5.nabble.com/Hello-World-Maybe-not-tp5735858p5735876.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to