Added support for pulling  queues by Agent