On Fri, Jul 27, 2012 at 6:18 PM, gilboy <[email protected]> wrote: > Hi > > I need to interact with a vendor product which exposes a number of readable > mbean attributes. Unfortunatly, no notifications exist for these attributes. > I need to poll these managed attributes every 2 mins to see if any have > updated. > > Since the JMX component does not appear to support polling I was planning on > writing my own custom component which has a scheduledpoll consumer which > runs every 2 mins and has an MBeanServerConnection and just queries the > attribute of interest and forwards to a processor. > > This is what I was planning on doing. However, just wanted to check as it > seems a little strange that I am not using the JMX component with camel as > it only appears to support notifications > > Thanks > Joe >
We love contributions, however I wonder how easy it would be to setup a syntax for specifying which JMX attributes you want to poll? That may get message pretty quickly, if you need to configure this in a <from uri> style. http://camel.apache.org/contributing.html > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-JMX-Component-query-tp5716558.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
