ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Using JMS to send XML through MQSI

Post new topic  Reply to topic
 Using JMS to send XML through MQSI « View previous topic :: View next topic » 
Author Message
nevin
PostPosted: Tue Dec 17, 2002 11:35 pm    Post subject: Using JMS to send XML through MQSI Reply with quote

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
View user's profile Send private message Visit poster's website
vmcgloin
PostPosted: Wed Dec 18, 2002 1:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Using JMS to send XML through MQSI
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.