@Override protected AMQPQueueConsumer getConsumer( Object callback, AMQPCommonListenProperties commonListenProperties, String poisonPrefix) { return new AMQPQueueConsumer( getChannel(), (AMQPConsumerCallback) callback, commonListenProperties.getThreshold(), poisonPrefix, commonListenProperties.isPoisonQueueEnabled()); }