Hi,

I am assuming you are using the same context which has the registry bound
"CamelContext context = new DefaultCamelContext(registry);"

you can add routes to the context as below 

context.addRoutes(new RouteBuilder() {
      @Override
      public void configure() {
             from("jetty://http://localhost:8888/";).log("Received a
request").transform().simple("${bean:myBean}");
    }
});
context.start();



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel2-17-No-bean-could-be-found-in-the-registry-tp5782311p5782349.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to