Author |
Message
|
xgr3 |
Posted: Fri Sep 29, 2006 4:01 am Post subject: Putting XML File in the Queue |
|
|
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 |
|
 |
jefflowrey |
Posted: Fri Sep 29, 2006 4:03 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Fri Sep 29, 2006 4:14 am Post subject: |
|
|
 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 |
|
 |
xgr3 |
Posted: Fri Sep 29, 2006 6:42 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Fri Sep 29, 2006 7:52 am Post subject: |
|
|
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 |
|
 |
xgr3 |
Posted: Fri Sep 29, 2006 8:23 am Post subject: |
|
|
Newbie
Joined: 27 Jul 2005 Posts: 9
|
|
Back to top |
|
 |
wschutz |
Posted: Sat Sep 30, 2006 3:03 am Post subject: Re: Putting XML File in the Queue |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
|