We have set up BOTHRESH(5), BOQNAME(USER.ERR) in WebSphere MQ v7.0.1.9 queue manager.
When TX is rolled back by the MDB in a container managed TX in WebSphere application server v7, the messages are getting placed in DLQ instead of placing in original queue.
I checked the logs which stated that TX got rolled back successfully .
Can some one help me?
…the message are getting placed in DLQ instead of placing in original queue.
Setting
BOQNAMEandBOTHRESHresults in the QMgr attempting to put the message in something other than the original queue. OnceBOTHRESHis exceeded, the QMgr will first try to put the message into the queue named byBOQNAME, then into the DLQ if putting toBOQNAMEis not possible. Only if both of these fail does the QMgr put the message back on the original queue or discard it if the message is non-persistent.Some reasons that backing out to the queue named in
BOQNAMEor to the DLQ fail are:DEADQattribute is empty.BOTHRESHis set butBOQNAMEis not. In this case, the DLQ is the only queue tried.