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 » Sending multiple msgs over HTTP

Post new topic  Reply to topic
 Sending multiple msgs over HTTP « View previous topic :: View next topic » 
Author Message
missing_link
PostPosted: Thu May 08, 2008 2:31 am    Post subject: Sending multiple msgs over HTTP Reply with quote

Acolyte

Joined: 08 Jan 2004
Posts: 60

Guys

I have an existing msgflow running over MQ which reads from a database and propagates mutiple msgs (one per db record). I need to extend this so that its available over HTTP.

The flow is processing the request over http correctly is sending multiple msgs back thru the HTTPReply node, but the HTTP client (currently just another flow for testing purposes) only ever receives the first message that is propagated.

I guess I have two questions:
1) Is the broker capable of sending multiple responses over HTTP like this?
2) Any ideas as to what I am missing to make this work? Something in the HTTP headers etc?

cheers

ash.
Back to top
View user's profile Send private message
AkankshA
PostPosted: Thu May 08, 2008 2:38 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

HTTPInput and HTTPReply node are used in a pair..

usage of HTTPRequest node would resolve this problem
Back to top
View user's profile Send private message Visit poster's website
AkankshA
PostPosted: Thu May 08, 2008 2:40 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

http://www.ibm.com/developerworks/websphere/library/techarticles/0608_braithwaite/0608_braithwaite.html

shall answer all your questions...
Back to top
View user's profile Send private message Visit poster's website
missing_link
PostPosted: Thu May 08, 2008 2:58 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jan 2004
Posts: 60

thanks for the link..will have a read and see if that gives any pointers. we're on 6.1 so assume most (if not all) of it is relevant.

I know how to use the HTTP nodes. The 'server' flow receives via HTTPInput and replies with HTTPReply. My 'client' (or test) flow invokes using HTTPRequest node. They are communicating, its just that the client is only receiving one (the first) response whereas the server is actually sending 5.

cheers

ash.
Back to top
View user's profile Send private message
AkankshA
PostPosted: Thu May 08, 2008 3:08 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

well as far as my understanding of HTTP req responce scenerio goes - response is associated with the reply by a request identifier that is stored in LocalEnvironment by the HTTPInput node

and its a req reply i.e 1:1 scenerio

for sending multiple responces one need to use HTTPReuest node.. which ll be taken as fresh ones..

THOUGH i stand to be corrected here....
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Thu May 08, 2008 5:24 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

HTTP does not allow more than one response to the same request.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
missing_link
PostPosted: Thu May 08, 2008 5:36 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jan 2004
Posts: 60

thanks Jeff.

Was starting to wonder about that....back to the drawing board with this....

<sigh>

ash.
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 » Sending multiple msgs over HTTP
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.