|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
timeout and timeoutnotification nodes in the same flow |
« View previous topic :: View next topic » |
Author |
Message
|
mbwannabe1 |
Posted: Thu Aug 30, 2012 2:52 pm Post subject: timeout and timeoutnotification nodes in the same flow |
|
|
Novice
Joined: 18 Apr 2012 Posts: 13
|
Hi,
been reading up a bit on the timeout and timeoutnotification nodes. I want to introduce a delay within the processing of the flow and want to insert a timeout node and a timeoutnotification node between try-catch and throw nodes, with the timeoutnotification node actually perfomring the throw. also the timeout node and timeout notification nodes seem to allow for the request location to be flexible. Can I put the timeout request message in (say) the RFH2 header usr folder if I want the xml payload of the message to be retained intact when thrown? thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Aug 30, 2012 4:37 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If you pass the message to the timeoutcontrol node, you complete the transaction the message was part of, successfully no less. |
|
Back to top |
|
 |
mbwannabe1 |
Posted: Fri Aug 31, 2012 6:41 am Post subject: |
|
|
Novice
Joined: 18 Apr 2012 Posts: 13
|
gotcha. if i put the timeout nodes else where, Can I put the timeout request message in (say) the RFH2 header usr folder if I want the xml payload of the message to be retained intact ? my understanding is that the timeout notification node will just pick up the message from the system.broker.timeout.queue and propogate it forward right? so i can use the xml payload that was existing before as is. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 31, 2012 7:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
My point is that you need to understand the relationship between the retries you're trying to do and the transaction that is involved.
And that you need to make sure that you do the right things to ensure that the transaction is rolled back when you want to attempt a retry.
otherwise, for discussion on using timeout nodes, I encourage you to review the documentation, and http://www.ibm.com/developerworks/websphere/library/techarticles/0603_schutz/0603_schutz.html |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|