|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to put a XML file to a Queue |
« View previous topic :: View next topic » |
Author |
Message
|
pavankvk |
Posted: Tue Sep 23, 2003 4:51 am Post subject: How to put a XML file to a Queue |
|
|
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 |
|
 |
bower5932 |
Posted: Tue Sep 23, 2003 6:09 am Post subject: |
|
|
 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 |
|
 |
mrlinux |
Posted: Tue Sep 23, 2003 6:50 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|