How to browse ActiveMQ JMS messages using java code ?
Issue
- How to get the properties of a queue without creating a consumer, i.e received time stamp of each message on the queue.
- Unfortunately with the JMS API, the browse command creates the
QueueBrowser
by establishing a connection & session to the broker and then callingcreateBrowser()
on the session .. so we get a consumer. Any ideas on how we might be able to extract this information in another way?
Environment
- Red Hat JBoss A-MQ
- 6.0
- 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.