public class JMSListenerSetException
extends javax.jms.JMSException
JMSListenerSetException indicates that a MessageListener is set. MessageConsumer.receive() cannot
be called if a MessageListener is set. A MessageListener cannot be set on both MessageConsumer
and Session.