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
QueueBrowserby 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
