You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ha...@apache.org on 2015/02/12 20:22:14 UTC

activemq git commit: Remove unused ConnectionControl handling.

Repository: activemq
Updated Branches:
  refs/heads/activemq-5.10.x f62f47b92 -> f07e6a532


Remove unused ConnectionControl handling.


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/f07e6a53
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/f07e6a53
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/f07e6a53

Branch: refs/heads/activemq-5.10.x
Commit: f07e6a53216f9388185ac2b39f366f3bfd6a8a55
Parents: f62f47b
Author: Timothy Bish <ta...@gmail.com>
Authored: Wed Aug 13 11:15:29 2014 -0400
Committer: Hadrian Zbarcea <ha...@apache.org>
Committed: Thu Feb 12 14:22:05 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/activemq/broker/TransportConnection.java     | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/f07e6a53/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
----------------------------------------------------------------------
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
index 22a63b8..5bb7ec1 100755
--- a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
+++ b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
@@ -1534,10 +1534,6 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
 
     @Override
     public Response processControlCommand(ControlCommand command) throws Exception {
-        String control = command.getCommand();
-        if (control != null && control.equals("shutdown")) {
-            System.exit(0);
-        }
         return null;
     }