Fixed a spelling in an error message

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402189 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2012-10-25 15:28:44 +00:00
parent b8a6e5a6ca
commit 556ee7b48e
1 changed files with 1 additions and 1 deletions

View File

@ -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));