diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/stomp/ProtocolConverter.java b/activemq-core/src/main/java/org/apache/activemq/transport/stomp/ProtocolConverter.java index 6bca960f29..629f52e8b6 100644 --- a/activemq-core/src/main/java/org/apache/activemq/transport/stomp/ProtocolConverter.java +++ b/activemq-core/src/main/java/org/apache/activemq/transport/stomp/ProtocolConverter.java @@ -510,7 +510,7 @@ public class ProtocolConverter { IntrospectionSupport.setProperties(consumerInfo, headers, "activemq."); if (actualDest.isQueue() && consumerInfo.getSubscriptionName() != null) { - throw new ProtocolException("Invliad Subscription: cannot durably subscribe to a Queue destination!"); + throw new ProtocolException("Invalid Subscription: cannot durably subscribe to a Queue destination!"); } consumerInfo.setDestination(translator.convertDestination(this, destination, true));