extends DefaultConsumer instead of using queueingconsumer