On Mon, Mar 9, 2009 at 10:16 PM, smullins7 <[email protected]> wrote: > > Hello, I have custom endpoints developed that I would like to expose as > mbeans through JMX. Currently, only the attributes of ManagedEndpoint show > up. What is the easiest way to get a custom endpoint exposed in jmx while > piggy-backing off the existing mbean server/naming strategy/etc supplied by > camel? As an Endpoint is just an Object I assume you can using standard Spring JMX to expose attributes to JMX. And then use the spring XML stuff to register.
To use you custom endpoint in Camel just declare it as a spring bean with and id <bean id="myEndpoint" ...> <from uri="activemq:queue:foo"/> <to ref="myEndpoint"/> > -- > View this message in context: > http://www.nabble.com/Adding-custom-mbeans-to-camel-JMX-mbeanserver-tp22421517p22421517.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/
