In reply to Er. Shipra:
As I mentioned, do you see any hurdle in using mailboxes for communication? The queue here is itself behaving like a mailbox/FIFO.
As an alternative approach, we can also declare a queue in some common class and set the config_db for that particular class in both the agents. By this, the common class handle (and in-turn he queue) will be shared across the agents.