How can I configure my MDB to receive messages only after a certain interval of time. I mean the MDB will retrive messages from the Queue after every two hours and not as soon as the message is entered into a Queue
You can set a scheduled delivery time on the message.
http://docs.jboss.org/jbossas/admindevel326/html/ch6.chapt.html