Posted: Thu May 08, 2008 2:31 am Post subject: Sending multiple msgs over HTTP
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?
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.
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
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