I have setup a queue using Glassfish's admin console along with a connection factory and have some basic code written to send messages to a queue and have them read using an MDB. All that is fine and works well. However, what I really want to do further on from this is for Glassfish's JMS to poll the queue every hour and then notify the MDB (via it's MessageListener interface) so that it reads the message from the queue. In effect, the MDB will be consuming messages every hour instead of being notified everytime a message arrives within the queue.
Can this be done using Glassfish JMS or should it be done programatically? Any help and advice is appreciated.
[Message sent by forum member 'johnstv' (john...@hotmail.com)]