camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vishalad <adsule.vis...@gmail.com>
Subject Re: No consumers available for endpoint.
Date Tue, 04 Dec 2012 12:51:17 GMT
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.

Mime
View raw message