little more info in exception

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750537 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2009-03-05 18:25:59 +00:00
parent b56cb8f3e2
commit c7b48c4757
1 changed files with 2 additions and 1 deletions

View File

@ -178,7 +178,8 @@ public abstract class PrefetchSubscription extends AbstractSubscription {
}
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 {