mirror of https://github.com/apache/activemq.git
Ignore invalid commands to the AdvisoryConsumer- can happen due
to the use of wildcards across a network git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@634775 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
26eedea5fb
commit
c803f531e3
|
@ -80,9 +80,10 @@ public class AdvisoryConsumer implements ActiveMQDispatcher {
|
|||
if (o != null && o.getClass() == DestinationInfo.class) {
|
||||
processDestinationInfo((DestinationInfo)o);
|
||||
} else {
|
||||
connection.onAsyncException(new JMSException(
|
||||
"Unexpected message was dispatched to the AdvisoryConsumer: "
|
||||
+ md));
|
||||
//This can happen across networks
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Unexpected message was dispatched to the AdvisoryConsumer: "+md);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue