Here is my problem, I am sending some message to a queue using JMS. The program has been written in such a way that there will be a message sent to the queue within 30 seconds from the time of the previous message sent. If there are no messages sent in the 30 seconds duration then the message is the last message and I should start consuming the messages from the queue.Here is my problem, I am sending some message t