Reputation: 162
I have an activeMQ app. I want to read the body of incoming messages, but keep the message into the queue. How do I do that? Is there any trick?
Upvotes: 0
Views: 260
Reputation: 1226
You can use message browsing feature of ActiveMQ by using ActiveMQQueueBrowser
http://activemq.apache.org/maven/apidocs/org/apache/activemq/ActiveMQQueueBrowser.html
Upvotes: 1