JMX configuration

One Star

JMX configuration

Request your help on the below:
I want to configure JMX for each of the Route deployed in ESB run time so that I can analyze the memory and thread footages for individual Route/Services. Please let me know how to do that?
I tried the following options in each of the Route with different port number but it overrides the port number and still takes for all the routes deployed in that particular esb run time server.
For Route1:
<camelContext id="camel" xmlns="">
<jmxAgent id="agent" createConnector="true" registryPort="6001"/>
</camelContext>
For Route2:
<camelContext id="camel" xmlns="">
<jmxAgent id="agent" createConnector="true" registryPort="6002"/>
</camelContext>
Employee

Re: JMX configuration

Hi,
each route already has jmx configuration by default (defined as spring config). I think you can just use this defined config. Take a look into 'Spring' view for the route. You'll find something like this:
       <bean id="jmxEventNotifier" class="org.apache.camel.management.JmxNotificationEventNotifier">
                   <property name="source" value="DemoResourceRoute"/>
                   <property name="ignoreCamelContextEvents" value="true"/>
                   <property name="ignoreRouteEvents" value="true"/>
                   <property name="ignoreServiceEvents" value="true"/>
       <property name="ignoreExchangeEvents" value="true"/></bean>
Thanks,
Yuri
One Star

Re: JMX configuration

Thanks for your reply.
My Requirement is - How to analyze the memory and thread footage using JConsole for individual Routes. I want to analyze the memory and Thread footage for individual routes instead of all routes together.
One Star

Re: JMX configuration

Hello All
Any one knows about how to analyze the memory and thread footage for individual routes in talend. Instead of all routes together I want to look and analyze the memory and thread footage for individual routes deployed in the talend ESB container. Please help
Appreciate your help