Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Delay on MDB message rollback  RSS feed

Terence Lai
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to figure out whether WebSphere MQ has configuration options to set the delay of the message being *put back to* or *pick up from* the original destination when the setRollbackOnly() method is called in MDB. I am using WebSphere Application Server v6.1 with WebSphere MQ.

I have checked the following article, and it still doesn't give me the answer:

The article said "the messaging engine custom property sib.processor.blockedRetryTimeout tells the application server how long to wait before redelivering a poison message to an MDB, if and only if the Exception destination property is set to "None.""

This is not what I need. I would like to specify the Exception destination. When the message reaches the Max. Failed Deliveries threshold, the message will be delivered to a different queue. This will give the administrator the capability to re-queue the message at a later time. On the other hand, if the Max. Failed Deliveries threshold hasn't been reached, I want the message being put back to the original queue with some delay before it is being process again.

The reason that I want to have the delay is that my MDB is used to process the file FTP delivery request. If the FTP connection fails, I want to have a number of retries with some delays. It doesn't make sense to retry immediately.

Any helps would be appreciated.


Does any one have an answer on
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!