ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HTTP Request node

Post new topic  Reply to topic
 HTTP Request node « View previous topic :: View next topic » 
Author Message
angka
PostPosted: Tue Apr 07, 2009 3:01 am    Post subject: HTTP Request node Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 07, 2009 3:18 am    Post subject: Reply with quote

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
View user's profile Send private message
angka
PostPosted: Tue Apr 07, 2009 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
angka
PostPosted: Tue Apr 14, 2009 11:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HTTP Request node
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.