Hi,
I'm triying to run a route and do something else after (calling a POJO or
just printing something); with the following code :
Main main = new Main();
main.enableHangupSupport();
main.addRouteBuilder(new MyRouteBuilder());
main.addRouteBuilder(new MyRouteBuilder2());
main.run(args);
System.out.println("End of the program");
the MyRouteBuilder and MyRouteBuilder2 are two classe extending the
RouteBuilder class and containing routes.
So the routes are executed, but anything after (the println command) is
ignored.
How can I solve this problem?
Thank you in advance 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-tp5725121.html
Sent from the Camel - Users mailing list archive at Nabble.com.