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 » Putting XML File in the Queue

Post new topic  Reply to topic
 Putting XML File in the Queue « View previous topic :: View next topic » 
Author Message
xgr3
PostPosted: Fri Sep 29, 2006 4:01 am    Post subject: Putting XML File in the Queue Reply with quote

Newbie

Joined: 27 Jul 2005
Posts: 9

I want to put XML File in the Queue. Could someone suggest me how to put this.

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 29, 2006 4:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What's the difference between an XML file and any other file?

What's the difference between a "file" and any other bytestream?

What's the difference between a message with a "file" in it, and a message with any other bytestream in it?

How do you create a message with any bytestream in it?

How do you put that message on a queue?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Sep 29, 2006 4:14 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Blimey - he only asked!

What platform are you referring to?

There are many file to message utilities that can be found. Do you want to use a GUI or a command line program...? Or do you want to code your own program (which language?)?
Back to top
View user's profile Send private message
xgr3
PostPosted: Fri Sep 29, 2006 6:42 am    Post subject: Reply with quote

Newbie

Joined: 27 Jul 2005
Posts: 9

Quote:
What's the difference between an XML file and any other file?

What's the difference between a "file" and any other bytestream?

What's the difference between a message with a "file" in it, and a message with any other bytestream in it?

How do you create a message with any bytestream in it?

How do you put that message on a queue?


I think, you are saying convert the content of file into BytesMessage and put the BytesMessage into the queue. And, receiever of message will read as BytesMessage and then convert it back.

And, as far as message size is concern then I hope it is limited by lot of other factors.

My environment is - Windows (will move to AIX later) , Websphere MQ (MOM) with Message Driven Bean.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 29, 2006 7:52 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you're using JMS, you should probably use a TextMessage for XML data, rather than a BytesMessage.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
xgr3
PostPosted: Fri Sep 29, 2006 8:23 am    Post subject: Reply with quote

Newbie

Joined: 27 Jul 2005
Posts: 9

Thanks for your help.
Back to top
View user's profile Send private message
wschutz
PostPosted: Sat Sep 30, 2006 3:03 am    Post subject: Re: Putting XML File in the Queue Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

xgr3 wrote:
I want to put XML File in the Queue. Could someone suggest me how to put this.

Thanks
If you have the XML in a file, and you just want to put it into a queue, you can use the "q" program, available for alomst all platorms, no need to write your own....

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000647&loc=en_US&cs=utf-8&lang=en
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Putting XML File in the 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.