s_logger.debug("Receiving message with oid " + msg.getOID() + " from queue " + sQueueName
+ ((channel == null) ? "" : (" (" + channel.getName() + ")")) + " as user \"" + msg.getValue("user") + "\"");
}
// login the message sender
context.login(new SimplePrincipal((String)msg.getValue("user")));
// check that message has not been recovered by the dispatcher
if (!((Boolean)msg.findValue("isProcessing", Boolean.TRUE)).booleanValue())
{
throw new InvalidDispatcherException(sDispatcherId);