Jérémie Panzer created ARTEMIS-5334:
---------------------------------------

             Summary: Load artemis-console-extension in an hawtio-springboot
                 Key: ARTEMIS-5334
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5334
             Project: ActiveMQ Artemis
          Issue Type: Wish
          Components: Configuration
            Reporter: Jérémie Panzer


Hi,

I'm currently using Spring Boot 2.x with an embedded ActiveMQ Classic broker, 
and using hawtio-springboot to add an actuator to Spring Boot to monitor 
queues/retry entries in the DLQ. Everything works fine and is nicely packaged 
in a single jar file. At runtime, there is only one process, hawtio is 
available in /actuator/hawtio on the same port as the one used to serve my app.

I'm migrating to Spring Boot 3 but Hawtio [no longer supports ActiveMQ 
Classic|https://github.com/hawtio/hawtio/issues/3534] natively.

I'm looking into migrating to ActiveMQ Artemis since there is a Hawtio plugin 
for it, but it looks like the plugin is only available as part of a standalone 
war file. I guess this makes sense for standalone ActiveMQ setups where the war 
file is then deployed on a standalone Jetty.

Is there a way to plug artemis-console-extension in hawtio-springboot so that I 
can monitor ActiveMQ Artemis queues the same way I was doing with ActiveMQ 
Classic? I've looked at [HawtioPlugin 
registration|https://github.com/hawtio/hawtio-sample-plugin-ts/blob/hawtio-4.x/src/main/java/io/hawt/example/spring/boot/SampleSpringBootService.java]
 in Spring Boot but I don't know how to add artemis-console-extension to my 
classpath. It's deployed on maven central but as a pom, so there's no code.

Thanks!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to