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 in Atomic mode

Post new topic  Reply to topic
 HTTP Request in Atomic mode « View previous topic :: View next topic » 
Author Message
WBI_User21
PostPosted: Tue Jan 01, 2008 8:28 pm    Post subject: HTTP Request in Atomic mode Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

Hi MBians,
Scenario:
Flow whose source is MQ, which constructs a soap xml msg from input xml and does HTTP Post through HTTP Request node.
Flow is deployed with additional instances set to 2/(more than 2).
I had several shared variables in my flow which controls HTTP Request.
Is there is any way to do HTTP post with HTTP Request node in Atomic mode (as I can't put HTTP Request node in atomic block)

Thanks in advance..
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 02, 2008 5:14 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

HTTP is a synchronous protocol.

The HTTPRequest node will always return the HTTP reply to the same instance of the flow that made the call.

Is this what you mean?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
WBI_User21
PostPosted: Wed Jan 02, 2008 8:09 pm    Post subject: Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

Yes, I agree, But that is not problem.
But , when a thread is waiting for HTTP Response the other thread is writing to certain shared variables which is in atomic. Is there any way to include the writing to shared variables ,make a HTTP Request and get HTTPResponse in atomic block

thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 03, 2008 12:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Aha.

I see now.

No, I don't think you can do this directly.

You can maybe set an atomic flag, that says "thread is waiting for HTTPRequest", and use this as a mutex.
_________________
I am *not* the model of the modern major general.
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 in Atomic mode
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.