camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: [DISCUSS] - JMX - Enlisting MBeans only during starting routes
Date Fri, 11 Feb 2011 10:24:24 GMT
Hi

I have implemented this and Camel now behaves a bit different by default.

Relaxed how aggressive Camel was registering services as MBeans in
JMX. Now Camel will by default only registeres MBeans when starting
CamelContext or starting new routes. This avoids registering too many
MBeans if using dynamic EIP patterns such as Recipient List using
different endpoint urls, causing new endpoints and its associated
services to be registered in JMX. This would keep growing over time
and consume memory as well. You can use the registerAlways or
registerNewRoutes options on ManagementAgent to control this behavior.
See Camel JMX for more details.


You can see the Camel JMX wiki page for more details as well.




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

Mime
View raw message