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.