Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

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
 
I think I'll just lie down here for a second. And ponder this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic