camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From armand <armand.bereng...@gmail.com>
Subject Re: Stop manually camel route
Date Wed, 09 Jul 2014 15:59:40 GMT
Thank you for the information clauss.
Do you think that we could solve this problem using this way or may we
should use the MBean component

As supposed in the article ( http://camel.apache.org/camel-jmx.html ) 
and especially in the javadoc of the route component MBean 
(
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/management/mbean/ManagedRoute.html
) 
the default behaviour of the container is to register all the MBeans of
their peer components to the JMX agent of the running JVM. 
And manage routes by the hawtio web application. In the ManagedRoute MBean
there are methods to start/stop and shutdown. And use a remote call from the
client to the server who manages JMX connections internally. 
What do you think about this solution?



--
View this message in context: http://camel.465427.n5.nabble.com/Stop-manually-camel-route-tp5753505p5753609.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message