logger.log(BasicLevel.DEBUG, "Session.receive(" + requestTimeToLive + ',' + waitTimeOut + ','
+ targetName + ',' + selector + ',' + queueMode + ')');
preReceive(mc);
try {
ConsumerMessages reply = null;
ConsumerReceiveRequest request = new ConsumerReceiveRequest(targetName, selector, requestTimeToLive, queueMode);
if (implicitAck)
request.setReceiveAck(true);
reply = (ConsumerMessages) receiveRequestor.request(request, waitTimeOut);
if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, " -> reply = " + reply);