initialize with a logger instead of client and can subscribe to multiple queues
version 2