|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[solved] Routing message from WebService to MQ |
« View previous topic :: View next topic » |
Author |
Message
|
Shadow |
Posted: Thu Aug 03, 2006 12:08 pm Post subject: [solved] Routing message from WebService to MQ |
|
|
Novice
Joined: 03 Aug 2006 Posts: 16 Location: Campinas/SP - Brazil
|
Hello!
I´m trying to send a message received from a WebService (over HTTP) to MQ Queue.
I create the MRM and MQMD properties, but, when Broker tries to write to queue, it returns an "2667 - Failed to put message" error.
Any ideias?
What is the mininum data that i have to put in MQMD header?
I´m using Message Broker 6, MQ 5.3 in Windows ambient.
Thanks in advance
Luis _________________ IBM Certified Solution Developer - WebSphere Message Broker V6.0
Last edited by Shadow on Fri Jan 12, 2007 12:17 pm; edited 2 times in total |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Thu Aug 03, 2006 12:43 pm Post subject: Re: Routing message from WebService to MQ |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
Shadow wrote: |
Hello!
I´m trying to send a message received from a WebService (over HTTP) to MQ Queue.
I create the MRM and MQMD properties, but, when Broker tries to write to queue, it returns an "2667 - Failed to put message" error.
Any ideias?
What is the mininum data that i have to put in MQMD header?
I´m using Message Broker 6, MQ 5.3 in Windows ambient.
Thanks in advance
Luis |
First - make sure that the MQMD is added to the output messsage in the proper place and the the HTTPinput header has been removed. A trace of ${Root} should help there.
Second - in the MQOutput node, in the Advanced section - did you change the entry for Message Context? Keep in mind that the Messsage Context for an MQ message is taken from the associated MQ Input message - and you don't have one - so, I suggest that you change that option to Default.
I've done this very successfully. _________________ Bill Matthews |
|
Back to top |
|
 |
Shadow |
Posted: Thu Aug 03, 2006 12:55 pm Post subject: Re: Routing message from WebService to MQ |
|
|
Novice
Joined: 03 Aug 2006 Posts: 16 Location: Campinas/SP - Brazil
|
Bill.Matthews wrote: |
First - make sure that the MQMD is added to the output messsage in the proper place and the the HTTPinput header has been removed. A trace of ${Root} should help there. |
This was ok.
FlowDebug was VERY usefull here hehehe.
Bill.Matthews wrote: |
Second - in the MQOutput node, in the Advanced section - did you change the entry for Message Context? Keep in mind that the Messsage Context for an MQ message is taken from the associated MQ Input message - and you don't have one - so, I suggest that you change that option to Default.
I've done this very successfully. |
YEAH!
It worked. Tnks. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|