class JmsPoolJMSConsumer implements JMSConsumer, AutoCloseable {

    @Override
    public <T> T receiveBody(Class<T> desired) {
        throw new JMSRuntimeException("Pooled JMSConsumer does not support receiveBody");
    }

    public  JmsPoolJMSConsumer(JmsPoolMessageConsumer consumer);

}