ack = con.deliver(p);
if (ack != null) {
long transactionId = ack.getTransactionId(),
consumerId = ack.getConsumerId();
SysMessageID sysMsgId = ack.getSysMessageID();
TransactionUID txnUID = null;
ConsumerUID conUID = null;
if (transactionId != 0) {
txnUID = new TransactionUID(transactionId);
}
if (consumerId != 0) {
conUID = new ConsumerUID(consumerId);
}
IMQConnection cxn = parent.checkConnectionId(ack.getConnectionId(), "Listener Thread");
SysMessageID ids[] = new SysMessageID[1];
//ids[0] = sysMsgId;
//ids[0] = ((Packet)p).getSysMessageID();
ids[0] = sysMsgId;
ConsumerUID cids[] = new ConsumerUID[1];
cids[0] = conUID;