camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <>
Subject Re: Monitoring Camel with JMX
Date Tue, 17 Apr 2012 14:48:27 GMT

The HEX value at the end of the FileConsumer you see on JConsole comes from
[1] which includes System.identityHashCode() for the name of to avoid any name conflicts.

And of course that value will change by each JVM run, so that I assume the
best option you have is to query for:

  MBeanServer.queryNames(new ObjectName("*:type=consumers,*"), null);

Of course there's also the JMX Query-API out there you could make use of,
however I'm not familiar with it.



View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message