support custom class for amqpduplexqueue
add class using AMQP extension