List msgList2 = persistenceManager.getMessageChannelPairAcksForTx(tid);
Iterator mIter1 = msgList1.iterator();
while (mIter1.hasNext())
{
MessageChannelPair pair = (MessageChannelPair)mIter1.next();
Binding binding = postOffice.getBindingForChannelID(pair.getChannelId());
String qname = binding.queue.getName();
Long chid = binding.queue.getChannelID();
String qkey = qname + " (" + chid + ")";
List<String> msgs = qInfo.get(qkey);
if (msgs == null)
{
msgs = new ArrayList<String>();
qInfo.put(qkey, msgs);
}
msgs.add(String.valueOf(pair.getMessage().getMessageID()) + " (+)");
}
Iterator mIter2 = msgList2.iterator();
while (mIter2.hasNext())
{
MessageChannelPair pair = (MessageChannelPair)mIter2.next();
Binding binding = postOffice.getBindingForChannelID(pair.getChannelId());
String qname = binding.queue.getName();
Long chid = binding.queue.getChannelID();
String qkey = qname + " (" + chid + ")";
List<String> msgs = qInfo.get(qkey);
if (msgs == null)
{
msgs = new ArrayList<String>();
qInfo.put(qkey, msgs);
}
msgs.add(String.valueOf(pair.getMessage().getMessageID()) + " (-)");
}
buffer.append("<tr>");
buffer.append("<td>" + stid + "</td>");
buffer.append("<td>" + hexBranchQual + "</td>");