ActiveMQ web console does not work with the built-in broker

I have a built-in broker fully configured with java code (without deployable xml files). When I point my browser to the web console, I just get 404, and lsof shows that nothing is listening on 8161. Is it possible to use the web console only with Java code? I am fine using the web server that comes with ActiveMQ, and I'm fine with port 8161.

+6
java activemq
source share
1 answer

If you are using Java code and not using Spring, just create your own servlet container and register a WAR WAR inside it.

This example shows how to do this in Java code that comes from a web console source.

You will probably need a few trial and error to get all the necessary banks on your way to the class - you will need all Jetty, JSP, Serlvets, JSTL and others - plus ActiveMQ stuff too

+4
source share

All Articles