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 » General Discussion » How to put a XML file to a Queue

Post new topic  Reply to topic
 How to put a XML file to a Queue « View previous topic :: View next topic » 
Author Message
pavankvk
PostPosted: Tue Sep 23, 2003 4:51 am    Post subject: How to put a XML file to a Queue Reply with quote

Newbie

Joined: 23 Sep 2003
Posts: 1

Hi All,

iam new to MQSeries. i have a requirement of sending a message with a xml file across through a queue and get the message at the other end and parse the xml file.

Pls suggest any insight on this..

tia
pavan
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Sep 23, 2003 6:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Take a look at the MQPUT API. It takes a pointer to a buffer. This buffer could contain your XML data. Also, depending on how fancy you want to get with the manipulation of the data in the message, the broker products (WMQI, WBI MB) are geared towards processing XML messages.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
mrlinux
PostPosted: Tue Sep 23, 2003 6:50 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

For a quick test, assuming you are on distributed platform(not mainframe)

you can use the sample programs.


this will send -> amqsput QUEUE_NAME < XML.FIlLE
this will receive -> amqsget QUEUE_NAME > xml.file.out

This a simple test. The source also comes with the sample executables
for Ideas.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » How to put a XML file to a Queue
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.