//handle case where connection has already been started, and the dispatcher is blocked
//doing a put on the _synchronousQueue
Object msg = _synchronousQueue.poll();
if (msg != null)
{
AbstractJMSMessage jmsMsg = (AbstractJMSMessage) msg;
messageListener.onMessage(jmsMsg);
postDeliver(jmsMsg);
}
}
}