The spring code starts the Camel since you load the app context, call
refresh and getting the bean, etc.
So its already started when you use the Camel main class.

On Tue, Aug 20, 2013 at 2:45 AM, bonnahu <bonn...@gmail.com> wrote:
> Hi Christian,
> Thanks for your response. However, I don't understand that why I need to
> stop the route first, since I haven't started the route yet until
> main.run(); Please explain it a little bit more.
>
> thanks
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Apply-change-to-a-route-after-loading-camelcontext-xml-using-GenericApplicationContext-tp5737541p5737544.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



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

Reply via email to