You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ra...@apache.org on 2008/03/07 19:44:00 UTC
svn commit: r634775 -
/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/AdvisoryConsumer.java
Author: rajdavies
Date: Fri Mar 7 10:43:51 2008
New Revision: 634775
URL: http://svn.apache.org/viewvc?rev=634775&view=rev
Log:
Ignore invalid commands to the AdvisoryConsumer- can happen due
to the use of wildcards across a network
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/AdvisoryConsumer.java
Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/AdvisoryConsumer.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/AdvisoryConsumer.java?rev=634775&r1=634774&r2=634775&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/AdvisoryConsumer.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/AdvisoryConsumer.java Fri Mar 7 10:43:51 2008
@@ -80,9 +80,10 @@
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);
+ }
}
}