posted 14 years ago
I'm using CMT MDB to consume the message from Websphere MQ and it is deployed in Websphere application server.
Once the message is received by MDB, MDB delegates the message to application to process it further. If there is any system exception (example: Data base exception), seems, the transaction is rolled back and MQ keeps trying to send the same message. But I do not want MQ to resending the message to MDB if there an system exception occurred in the application since I do not want to process the message again if it is not processed in the first attempt.
What is the best approach to stop the retry ? Can this be handled in MDB or something needs to be done in MQ or WAS ?