This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 49b1bd26ad ARTEMIS-4974 Removing 'dead' code
49b1bd26ad is described below
commit 49b1bd26add0fcbd21d291df396b0bf1a8837415
Author: Clebert Suconic <[email protected]>
AuthorDate: Mon Aug 5 16:30:25 2024 -0400
ARTEMIS-4974 Removing 'dead' code
Since we now disable run from the Shell, this code I'm removing would be
"dead code"
---
.../main/java/org/apache/activemq/artemis/cli/commands/Run.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git
a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Run.java
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Run.java
index 6a4826f8fe..9588e2d358 100644
---
a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Run.java
+++
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Run.java
@@ -168,15 +168,6 @@ public class Run extends LockAbstract {
return serverActivationFailed.get();
}
- if (Shell.inShell()) {
- while (server.getServer().isStarted()) {
- try {
- Thread.sleep(1000);
- } catch (InterruptedException ignored) {
- }
- }
- }
-
return new Pair<>(managementContext, server.getServer());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact