[ 
https://issues.apache.org/jira/browse/ARTEMIS-3808?focusedWorklogId=765270&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-765270
 ]

ASF GitHub Bot logged work on ARTEMIS-3808:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/May/22 03:42
            Start Date: 03/May/22 03:42
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on code in PR #4061:
URL: https://github.com/apache/activemq-artemis/pull/4061#discussion_r863437999


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/ActiveMQServerControlImpl.java:
##########
@@ -4479,5 +4482,39 @@ public void replay(String startScan, String endScan, 
String address, String targ
 
       server.replay(startScanDate, endScanDate, address, target, filter);
    }
+
+   @Override
+   public void stopEmbeddedWebServer() throws Exception {
+      for (ActiveMQComponent component : server.getExternalComponents()) {

Review Comment:
   shouldn't this be on its own thread as well? what if you stop from the 
console?
   
   don't make sense I know, but wouldn't be broken if a user do it?





Issue Time Tracking
-------------------

    Worklog Id:     (was: 765270)
    Time Spent: 1.5h  (was: 1h 20m)

> Support starting/stopping the embedded web server via mangement
> ---------------------------------------------------------------
>
>                 Key: ARTEMIS-3808
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3808
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> It would be useful to be able to cycle the embedded web server if, for 
> example, one needed to renew the SSL certificates.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to