|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How can i store an xml file in a Queue |
« View previous topic :: View next topic » |
Author |
Message
|
nagaraju.chinni |
Posted: Wed Feb 20, 2008 11:11 pm Post subject: How can i store an xml file in a Queue |
|
|
Newbie
Joined: 13 Feb 2008 Posts: 6
|
How can i store an xml file in a Queue
any help is appreciated |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Feb 20, 2008 11:34 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
you need a program that reads the file and puts the content to a queue. there are lots of samples and supportpacs available, of course you can write your own.
i suggest you search a bit here, the various utilities have been mentioned and diskussed a lot.... _________________ Regards, Butcher |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 21, 2008 2:29 am Post subject: Re: How can i store an xml file in a Queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nagaraju.chinni wrote: |
How can i store an xml file in a Queue
|
- don't "store" stuff in queues, they're message constructs not database constructs
- the queues are blind to message contents so you put an XML document in one exactly the same way as you'd put a fixed format file _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Thu Feb 21, 2008 2:46 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Just read the file and create a string message (MQMD.format = MQSTR).
Make sure the MQMD.CCSID matches the codepage of the data and that's about all you need to do, other than MQPUT it.
MQ is not XML aware. although some of the tools like RFHUTILC can format XML data to make it more readable. |
|
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
|
|
|
|