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 » IBM MQ Java / JMS » How can i store an xml file in a Queue

Post new topic  Reply to topic
 How can i store an xml file in a Queue « View previous topic :: View next topic » 
Author Message
nagaraju.chinni
PostPosted: Wed Feb 20, 2008 11:11 pm    Post subject: How can i store an xml file in a Queue Reply with quote

Newbie

Joined: 13 Feb 2008
Posts: 6

How can i store an xml file in a Queue
any help is appreciated
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Feb 20, 2008 11:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Feb 21, 2008 2:29 am    Post subject: Re: How can i store an xml file in a Queue Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Thu Feb 21, 2008 2:46 am    Post subject: Reply with quote

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
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 » IBM MQ Java / JMS » How can i store an xml file in 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.