camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meriem <mbenha...@gmail.com>
Subject Re: Problem with calling a simple POJO after a route
Date Tue, 08 Jan 2013 14:40:55 GMT
I tried with :

CamelContext context = new DefaultCamelContext();
context.addRoutes(new MyRouteBuilder());
context.start();
Thread.sleep(1000);
context.stop();
System.out.println("End of the program");

and it worked.

Thank you very much for your help.

Bests,
Meriem.



--
View this message in context: http://camel.465427.n5.nabble.com/Problem-with-calling-a-simple-POJO-after-a-route-tp5725121p5725134.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message