You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Raymond (Jira)" <ji...@apache.org> on 2023/04/01 09:08:00 UTC
[jira] [Created] (ARTEMIS-4231) Configure EmbeddedWebServer programmatically
Raymond created ARTEMIS-4231:
--------------------------------
Summary: Configure EmbeddedWebServer programmatically
Key: ARTEMIS-4231
URL: https://issues.apache.org/jira/browse/ARTEMIS-4231
Project: ActiveMQ Artemis
Issue Type: Wish
Components: Configuration
Affects Versions: 2.28.0
Reporter: Raymond
I would like to use the management console within my embedded broker.
1) I have Spring Boot application (using Jetty as a web server).
2) In the application I use an embedded broker
I use this documentation:
[https://activemq.apache.org/components/artemis/documentation/latest/embedding-activemq.html]
The code:
{{}}
{code:java}
EmbeddedActiveMQ server = new EmbeddedActiveMQ();{code}
{code:java}
server.setConfiguration(config);
server.start();{code}
Now as a second step, I like to enable the management console. I checked this documentation page:
[https://activemq.apache.org/components/artemis/documentation/latest/web-server.html]
There it says that the embedded webserver can be managed through various operations on the {{{}ActiveMQServerControl{}}}. The configuration is done through "{{{}etc/bootstrap.xml{}}}". I of course don't have any configuration files. Is there a way to programmatically run and configure the management console together with my Spring Boot application?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)