|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
HTTP Request node |
« View previous topic :: View next topic » |
Author |
Message
|
angka |
Posted: Tue Apr 07, 2009 3:01 am Post subject: HTTP Request node |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
Below is a brief description of my message flow using a HTTPRequest node:
MQInput->Compute1->HTTPRequest1->(Out->Compute2->MQOutput OR Error->Compute3->TimeOutControl)
TimeoutNotification->Compute4->HTTPRequest1
Is there way to set when HTTPRequest1 is invoked, the message is not commited? The message will only be commited if it is put to the MQOutput node? I would like it to be in transaction throughout the the whole flow even when it is in the TimeoutNotification portion. I need this because message affinity is a must. I know it is a bad design but it is in production so if I will to redesign alot of systems will be affected.
Thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 07, 2009 3:18 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You are in a maze of twisty little requirements, all bad.
Why do you need to wait between the two HTTP Requests?
You won't be able to hold the transaction open using Timeout like this.
The only thing you can do is roll off the MQ message either into the Timeout message or into a backout queue. |
|
Back to top |
|
 |
angka |
Posted: Tue Apr 07, 2009 6:49 pm Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
I need to wait between two HTTP Request is because of message affinity. If the 1st message give an error due to Webservice down etc and is in System.Broker.Timeout.Queue waiting to be picked up, a 2nd message arrived and is picked up and at the same time the webservice recovered the 2nd message will be process first. This may cause problem for the application.
So what can i do to hold the transaction and with retry of the webservice call? is there a way?
Thanks |
|
Back to top |
|
 |
angka |
Posted: Tue Apr 14, 2009 11:33 pm Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
Is there a way to design the message flow such that the webservices is invoke sequentially base on the arrival of the messages?
I know design base on message affinity is bad but i have no choice now.
Thanks |
|
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
|
|
|
|