camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: reload routebuilder at runtime
Date Tue, 28 Jun 2011 14:02:37 GMT
You would have to remove a route first before you can add it (= update)

On Tue, Jun 28, 2011 at 3:54 PM, fachhoch <fachhoch@gmail.com> wrote:
> please tell me how to update  a route  using camel context I saw the api it
> has several  methods , you have an example on updating a route at runtime ,
> my camel context is started by spring    and routes registered
>
> here is my configration
>
>   <camelContext id="camel"
>                xmlns="http://camel.apache.org/schema/spring">
>        <package>gov.hhs.acf.camel</package>
>
>
>            <jmxAgent id="agent" createConnector="false"/>
>   </camelContext>
>
>
> all the classes(Routebuilder) in the pacakge  gov.hhs.acf.camel are loaded
> by camle context now at runtime I want  to update one routebuilder , please
> tell me how , I did not see a method as update route , it has addroute,
> stoproute  etc.
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/reload-routebuilder-at-runtime-tp4521292p4531857.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message