|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Using JMS to send XML through MQSI |
« View previous topic :: View next topic » |
Author |
Message
|
nevin |
Posted: Tue Dec 17, 2002 11:35 pm Post subject: Using JMS to send XML through MQSI |
|
|
 Newbie
Joined: 16 Dec 2002 Posts: 9
|
Dear all,
I'm trying to send some XML through MQSI using JMS. I have configured the JMS program to send JMS TextMessage, and the messge content is some XML data.
In my MQSI Input node, if I specify the Message Domain to be XML, I can extract and manipulate the information through the message flow, all are working fine. If I do not make the specification, MQSI cannot recognize the content and represents them as BLOB. However, specifying XML input is something I cannot do because this input node have to allow other types of data from other systems to go through.
So here's the question. Is it possible to programatically mark my JMS input message to be XML (i.e., do it in the java program, not using MQSI), so that MQSI will use the correct parser for my message? Thanks a lot!
Nev |
|
Back to top |
|
 |
vmcgloin |
Posted: Wed Dec 18, 2002 1:03 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
See Appendix D of the Using Java book. "Transformation and routing with WebSphere MQ Integrator V2".
I think a MapMessage would be recognised as XML, but for a TextMessage you might be able to use setJMSType.
I have not tried this, though I'm sure others have and can give more specific advice.
Cheers,
Vicky |
|
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
|
|
|
|