diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java b/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java index 5e114c4668..9cdebd6911 100755 --- a/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java @@ -176,7 +176,7 @@ public class TransportConnection implements Connection, Task, CommandVisitor { serviceLock.readLock().lock(); try { if (!(o instanceof Command)) { - throw new RuntimeException("Protocol violation - Command corrupted"); + throw new RuntimeException("Protocol violation - Command corrupted: " + o.toString()); } Command command = (Command)o; Response response = service(command);