In that case, you should first start routeB, so that when routeA starts its .to("direct:routeB") points to valid consumer in routeB
Bilgin On 4 December 2012 12:51, vishalad <adsule.vis...@gmail.com> wrote: > I am sorry, it's a typo mistake, route B should be read as > > public class B extends RouteBuilder{ > @Override > public void configure() throws Exception { > > from("direct:routeB") > .process(new Processor() { > @Override > public void process(Exchange exchange) throws Exception { > exchange.getIn().setBody("Hello route B", String.class); > } > }) > > } > } > > I have defined route B in camelcontext file. > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/No-consumers-available-for-endpoint-tp5723587p5723607.html > Sent from the Camel - Users mailing list archive at Nabble.com.