• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Delay on MDB message rollback

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic