JBM_MSG table grows and records are not deleted for JBoss Messaging
Issue
- The JBM_MSG table keeps growing, and records are never deleted
- There are no messages pending in the JMX console
- The messages are constantly failing and staying in database, we need to clear them.
-
We’ve detected that in some cases, it starts to write a lot of messages in JBM_MSG table in database, but those messages aren’t deleted. This behaviour causes database problems. We’ve been researching for a solution, and we’ve found that those messages, according to JBoss Documentation, may be for DLQ Queue (Dead Letter Queue). What we want is that JBoss EAP doesn’t write messages in that table for DLQ Queue, so we’ve configured the fillowing parameters in “standardjboss.xml”
.. .. .. <activation-config> <activation-config-property> .. .. .. <activation-config-property-name>useDLQ</activation-config-property-name> <activation-config-property-value>false</activation-config-property-value> </activation-config-property> </activation-config> .. .. ..
Environment
-
JBoss Enterprise Application Platform (EAP)
-
5.1.0
-
4.3.0.GA
-
- JBoss Messaging (JMS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.