class JmsPoolMessageConsumer implements MessageConsumer, AutoCloseable {

    @Override
    public void setMessageListener(MessageListener listener) throws JMSException {
        checkClosed();
        messageConsumer.setMessageListener(listener);
    }

      JmsPoolMessageConsumer(JmsPoolSession session, MessageConsumer messageConsumer);

}