class JmsPoolJMSConsumer implements JMSConsumer, AutoCloseable {

    @Override
    public Message receiveNoWait() {
        try {
            return consumer.receiveNoWait();
        } catch (JMSException e) {
            throw JMSExceptionSupport.createRuntimeException(e);
        }
    }

    public  JmsPoolJMSConsumer(JmsPoolMessageConsumer consumer);

}