mirror of https://github.com/apache/activemq.git
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:
parent
b8a6e5a6ca
commit
556ee7b48e
|
@ -510,7 +510,7 @@ public class ProtocolConverter {
|
||||||
IntrospectionSupport.setProperties(consumerInfo, headers, "activemq.");
|
IntrospectionSupport.setProperties(consumerInfo, headers, "activemq.");
|
||||||
|
|
||||||
if (actualDest.isQueue() && consumerInfo.getSubscriptionName() != null) {
|
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));
|
consumerInfo.setDestination(translator.convertDestination(this, destination, true));
|
||||||
|
|
Loading…
Reference in New Issue