I am using
JBoss 5.1 JMS Queues. After processing certain no. of messages, say after a 50,000 messages, the messages in the queue are not consumed. Then the delivering count stays the same and the messaging count goes on increasing. I get around 30 to 40 messages per second. I searched it on google and did the following
1) close the queueSession and queueConnection.
2) changed to mysql db from hsqldb.
3) increased the transaction timeout.
Even after doing all these, my messages are still getting stuck in the queue.
The application is like this.
A
c++ application sends the messages over socket. The
java converter application receives the messages and puts them in a blocking queue. And some 20 threads access the blocking queue (receivedQ) and puts them in RHInputQueue (Queue). The
BL application uses an MDB (ProcessRequest) to consume those messages from RHInputQueue, does some manipulations on the message and puts that message in the RHOutputQueue (Queue). The converter application then uses another MDB to consume those messages in the RHOutputQueue and puts them in another blocking queue. And one
thread accesses that blocking queue (processedQ) and sends them over the socket to the c++ application.
Here [Attached] is the thread dump from the jboss jmx console after it stopped processing the messages from the RHInputQueue
Thanks in advance.