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?


Tarun

Reply via email to