Author |
Message
|
mqwbiwf |
Posted: Wed Nov 14, 2007 2:09 pm Post subject: How to put msg to output queue while using HTTP reply node |
|
|
Centurion
Joined: 21 Jul 2006 Posts: 126
|
Hi,
We are designing a message flow which receives data through the HTTP input node. We then have a compute node attached to it to transforms the xml message accordingly and finally send the output message to HTTP reply node.
We want this output message to be written to a local queue apart from sending the response back to the http client through HTTP reply node.
We tried connecting an output node from the compute node so that the message can be captured in an output queue, but wasn't successful. It would be greatly appreciated if someone throws a light on how to do this.
Thanks. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 14, 2007 2:44 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Looks like you might need some training.
In the meantime you need to transform your reply message to make it an MQ message before sending it to MQ and loose the HTTP stuff...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqwbiwf |
Posted: Wed Nov 14, 2007 7:43 pm Post subject: |
|
|
Centurion
Joined: 21 Jul 2006 Posts: 126
|
Infact the response was sent back to the http client using the http reply node (including the whole message after transformation).
I need to know how to send the same message output message to an output node. we did include all the mqmd headers in the message and also tried putting a trace node to check if anything is coming in from the compute node to output node, but see nothing. Any thoughts on this are very welcome. |
|
Back to top |
|
 |
AkankshA |
Posted: Wed Nov 14, 2007 8:16 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
i would go for a design like....
Http i/p - compute - Http reply - compute - MQ o/p
second compute node ll remove the http stuff and add MQMD with relevant field population. _________________ Cheers |
|
Back to top |
|
 |
rajmq |
Posted: Thu Nov 15, 2007 2:49 am Post subject: |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
|
Back to top |
|
 |
chris boehnke |
Posted: Thu Nov 15, 2007 5:35 am Post subject: |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
mqwbiwf wrote: |
Infact the response was sent back to the http client using the http reply node (including the whole message after transformation).
I need to know how to send the same message output message to an output node. we did include all the mqmd headers in the message and also tried putting a trace node to check if anything is coming in from the compute node to output node, but see nothing. Any thoughts on this are very welcome. |
Hi,
When the input msg is coming through httpInput node, there wont be any MQMD. How you are adding the MQMD before sending the mesg to MQOutput node?. Are you adding the MQMD parameters inside a Compute node before sending the msg out to MQOutput node or else are you asking the MQOutput to generate the default values by setting the MQOutput node property(Advanced->Message context ...Set All)??.
Are you getting any exception while writing the msg onto MQOutput node???.
Could you describe the problem where exactly you have the issue?.
Thanks. |
|
Back to top |
|
 |
|