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.
Problem: QReceive process not responding. Brief Background: In the main class, there are several threads running. One of the thread is called QReceive. The main objective of QReceive is to listen on a jms queue for incoming messages fromclients. Whenever there is message(s) in the queue, QReceive is supposed to pick up the message and insert it into a database table. Description of problem: Right now, the QReceive occasionally stops responding to messages in the queue, which means it does not pick up messages. There's no exceptions thrown neither does the program halt. But if we restart the program, it starts to receive from the queue again. This problem occurs now and then, it does not have a pattern. Impact: The number of messages in the queue get more and more as time goes by.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com