I developed a JMS queue on websphere and it will recieve some messages on it by some other process. I want to check the queue every 5 minutes for those messages which are in the queue for more than specified time say 30 seconds. Can anybody help me on this,like how can I accomplish this? Currently I can read all messages on queue,but I want only the delayed messages on the queue.
posted 6 years ago
You may be able to write a rule where by all th eexpired messages will be written to a different queue. Now the other queue will only have expired messages. And the expired messages will be deleted from the first queue by the rule..