Author |
Message
|
EnthusiasticSatya |
Posted: Wed Dec 26, 2012 5:36 am Post subject: Resubmit message flow |
|
|
Apprentice
Joined: 10 Aug 2011 Posts: 26
|
Hi All,
I have to develop a new resubmit flow. the functionality is as below
1) the flow reads messages from the Queue.
2) after checking some Header content. the message has to wait for some time based on the Header parameter.
3) after successful completion of that time the same message has to be processed by another nodes.
Here my problems is how to stop the message processing after reading the Header parameter. (the wait time is max 30 min to 10 min minimum)
a waiting for your suggestions |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Dec 26, 2012 6:09 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Put the message in a standby queue and set the CorrelId equal to the time value for which you want to process it.
When you say 'message flow' do you mean to say you are using WebSphere Message Broker? If so, why did you post the question in this forum? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 26, 2012 6:10 am Post subject: Re: Resubmit message flow |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
EnthusiasticSatya wrote: |
Here my problems is how to stop the message processing after reading the Header parameter. (the wait time is max 30 min to 10 min minimum) |
Well some kind of Timer mechanism would seem to be the way. If only WMB had one.......! _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
EnthusiasticSatya |
Posted: Wed Dec 26, 2012 6:39 am Post subject: |
|
|
Apprentice
Joined: 10 Aug 2011 Posts: 26
|
Quote: |
Put the message in a standby queue and set the CorrelId equal to the time value for which you want to process it. |
is there any other chance to do the same without using the standby queue. for this implimentation I cannot use any other queue. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Dec 26, 2012 6:49 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Yes, use the same input queue, but get by correl id.
Who has forbidden you to make better use of queues? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|