Author: gtully
Date: Thu Mar  5 18:25:59 2009
New Revision: 750537

URL: http://svn.apache.org/viewvc?rev=750537&view=rev
Log:
little more info in exception

Modified:
    
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java

Modified: 
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java
URL: 
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java?rev=750537&r1=750536&r2=750537&view=diff
==============================================================================
--- 
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java
 (original)
+++ 
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java
 Thu Mar  5 18:25:59 2009
@@ -178,7 +178,8 @@
         }
         throw new JMSException(
                 "Slave broker out of sync with master: Dispatched message ("
-                        + mdn.getMessageId() + ") was not in the pending list 
for " + mdn.getDestination().getPhysicalName());
+                        + mdn.getMessageId() + ") was not in the pending list 
for "
+                        + mdn.getConsumerId() + " on " + 
mdn.getDestination().getPhysicalName());
     }
 
     public final void acknowledge(final ConnectionContext context,final 
MessageAck ack) throws Exception {


Reply via email to