Thanks for your reply.now we are using BrowsableEndPoint for getting number of messages in queue like
browsableEndPoint = camelcontext.getEndPoint(jobqueueEndpoint,BrowsableEndPoint); Now i am getting the number of messages in the queue.But i am not sure is this a right way of doing?can you help me for this?is this a right way? -- View this message in context: http://camel.465427.n5.nabble.com/Problem-in-getting-JMS-queue-attributes-using-MbeanServer-tp5732173p5732396.html Sent from the Camel Development mailing list archive at Nabble.com.