[ 
https://issues.apache.org/jira/browse/ARTEMIS-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram updated ARTEMIS-4231:
------------------------------------
    Description: 
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();
server.setConfiguration(config); 
server.start();{code}
Now as a second step, I like to enable the management console. I checked [this 
documentation|https://activemq.apache.org/components/artemis/documentation/latest/web-server.html]
 page. 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?

  was:
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?


> 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
>            Priority: Major
>
> 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();
> server.setConfiguration(config); 
> server.start();{code}
> Now as a second step, I like to enable the management console. I checked 
> [this 
> documentation|https://activemq.apache.org/components/artemis/documentation/latest/web-server.html]
>  page. 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)

Reply via email to