qs = qc.createQueueSession (true, 0);
QueueReceiver rec = qs.createReceiver
(channelInQueue(), "processKey = '"
+ ((Long)ctx.getPrimaryKey()).toString() + "'"
+ " AND channelName = '" + channel + "'");
Message msg = rec.receiveNoWait();
Map result = null;
if (msg != null && (msg instanceof ObjectMessage)) {
result = (Map)((ObjectMessage)msg).getObject();
}
rec.close ();