trace temp dest recreation by state tracker

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376513 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2012-08-23 14:45:17 +00:00
parent 86e9527e1f
commit 705a877981
1 changed files with 5 additions and 1 deletions

View File

@ -307,7 +307,11 @@ public class ConnectionStateTracker extends CommandVisitorAdapter {
throws IOException {
// Restore the connection's temp destinations.
for (Iterator iter2 = connectionState.getTempDestinations().iterator(); iter2.hasNext();) {
transport.oneway((DestinationInfo)iter2.next());
DestinationInfo info = (DestinationInfo)iter2.next();
transport.oneway(info);
if (LOG.isDebugEnabled()) {
LOG.debug("tempDest: " + info.getDestination());
}
}
}