This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
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..