|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Change Msd parameter in Header |
« View previous topic :: View next topic » |
Author |
Message
|
Naftalanja |
Posted: Thu Feb 07, 2002 2:03 pm Post subject: |
|
|
Acolyte
Joined: 30 Jan 2002 Posts: 63 Location: Los Angeles
|
Hi, i am using JMS for posting the message, but the input node default (Message Domain) is configured to XML, so eventually when the message passes thru input node, the header parameter <Msd> is set to xml instead of jms_text. But the problem is the same is being propogated to output node. But when i read it says MessageFormatException. So i decompiled JMSMessage to see what its accepting. Apparently it accepts somethings like jms_text, jms_bytes, jms_stream etc etc, but there was no xml. I know where the problem is, but cant figure out how to solve. Is there any way to change the <Msd> parameter of the header to "jms_text" and i think tht would solve the problem though. thanx.
Sample Output XML
-----------------
52 46 48 20 00 00 00 02 RFH ....
00 00 00 94 00 00 01 11 ........
00 00 04 B8 4D 51 53 54 ...¸MQST
52 20 20 20 00 00 00 00 R ....
00 00 04 B8 00 00 00 28 ...¸...(
3C 6D 63 64 3E 3C 4D 73 <mcd><Ms
64 3E 78 6D 6C 3C 2F 4D d>xml</M
73 64 3E 3C 46 6D 74 3E sd><Fmt>
58 4D 4C 3C 2F 46 6D 74 XML</Fmt
3E 3C 2F 6D 63 64 3E 20 ></mcd>
00 00 00 40 3C 6A 6D 73 ...@<jms
3E 3C 44 73 74 3E 71 75 ><Dst>qu
Sample Input XML
-----------------
52 46 48 20 00 00 00 02 RFH ....
00 00 00 84 00 00 01 11 ........
00 00 04 B8 4D 51 53 54 ...¸MQST
52 20 20 20 00 00 00 00 R ....
00 00 04 B8 00 00 00 20 ...¸...
3C 6D 63 64 3E 3C 4D 73 <mcd><Ms
64 3E 6A 6D 73 5F 74 65 d>jms_te
78 74 3C 2F 4D 73 64 3E xt</Msd>
3C 2F 6D 63 64 3E 20 20 </mcd>
00 00 00 38 3C 6A 6D 73 ...8<jms
3E 3C 44 73 74 3E 71 75 ><Dst>qu
Can you located xml in Msd tag, see i want to change it to jms_text. Can any one please help me ??? thanx
|
|
Back to top |
|
 |
EddieA |
Posted: Fri Feb 08, 2002 9:40 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
See answers elsewhere.
Cheers,
_________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
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
|
|
|
|