Browsing Messages with ActiveMQ

ActiveMQ lets you browse messages easily from the Web console available at the address: http://localhost:8161 . Unfortunately an issue prevents the message browsing when using JDK 1.8

The related issue is and from the log files it's visible with this error:

PWC6199: Generated servlet error:
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

 However once set JAVA_HOME to JDK.1.7 it works:

export JAVA_HOME

activemq browse message

As an alternative you can use the admin script to browse the Queue:

./activemq browse --amqurl tcp://localhost:61616 exampleQueue


Cookie Alert