On Mon, Apr 8, 2013 at 7:45 PM, Tarun Kumar <agrawal.taru...@gmail.com>wrote:
> My camel route is : > > from("direct:start") > .to("http://myhost/mypath"); > > I used : > > ProducerTemplate template; > template.sendBody("direct:start", "This is a test message"); > > to send the exchange. I am getting following exception: > > No consumers available on endpoint: Endpoint[direct://start]. > > How can i receive the same exchange in direct:start endpoint? > How are you running your application? Standalone camel application from main() or OSGI bundle? Assuming it's a stand alone application did you make sure and start your context? > > > Tarun >