camel-dev mailing list archives

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

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
Twitter: davsclaus
Author of Camel in Action:

View raw message