On Wed, Jul 20, 2011 at 7:16 PM, NightWolf <[email protected]> wrote: > Hi all, > > There seems to be an issue with camel and JMX. One of the great features of > the SEDA JMX component is the ability to see the queue size using the get > queue method which is found under > org.apache.camel->endpoints->COMPNAME/camel->"seda://xyz"... > > However when using something like > > / @EndpointInject(uri="seda:closeData?concurrentConsumers=50") > ProducerTemplate producerSymbQueue; > //... > producer.sendBody(object) > //.../ > > > In a POJO it would appear that the SEDA endpoint in JMX disappears and one > can no longer see the queue size... >
Do you have any regular routes with the seda endpoint? If not then thats the reason why its not in the JMX registry as Camel by default only enlists the "stuff" from the routes. There is an option to tell Camel to always register http://camel.apache.org/camel-jmx.html section Configuring whether to register mbeans always, for new routes or just by default By the way what version of Camel are you using? > Any ideas on what would be causing this and how to fix? > > Cheers, > N > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-issue-with-JMX-Endpoints-disappearing-and-endpoint-injection-for-SEDA-tp4616624p4616624.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.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
