On Tue, Jan 8, 2013 at 3:11 PM, Meriem <mbenha...@gmail.com> wrote:
> Thank you very much for your reply.
> But how can I stop camel automatically? my program should execute a route
> (for example copiying files) and continue with something else that has
> nothing to do with camel. In fact, I'm using Struts web application: every
> action should be executed and should give the control back to the
> struts-config xml file. How can I stop everything after executing routes.
>

The .run method will block until stopping Camel.
Instead you can call the start() method on CamelContext which will
start and not-block Camel.



> 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-tp5725121p5725130.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to