Created abstraction for queue and topics