aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes Delay on MDB message rollback Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Delay on MDB message rollback" Watch "Delay on MDB message rollback" New topic
Author

Delay on MDB message rollback

Terence Lai
Greenhorn

Joined: Dec 09, 2007
Posts: 8
Hi,

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:
http://www.ibm.com/developerworks/websphere/library/techarticles/0803_titheridge/0803_titheridge.html

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.

Thanks,
Terence

Does any one have an answer on
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Delay on MDB message rollback
 
Similar Threads
Test 959: IBM WebShere Portal 6.1 Application Development
WAS-6.1: SIBus: Topic to Queue Bridging
Eclipse plugin for was 6.0
Difference between JMS Queue and MQ queue
ConnectionFactory lookup returns null