Author |
Message
|
rsashi |
Posted: Fri Apr 21, 2006 7:59 am Post subject: File Transfer on WMQ V6 |
|
|
Apprentice
Joined: 29 Jan 2004 Posts: 35
|
Does File trasfer concept in V6 is supported on AIX too? |
|
Back to top |
|
 |
wschutz |
Posted: Fri Apr 21, 2006 8:01 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Perhaps you can better explain what you are asking.... _________________ -wayne |
|
Back to top |
|
 |
rsashi |
Posted: Fri Apr 21, 2006 8:12 am Post subject: |
|
|
Apprentice
Joined: 29 Jan 2004 Posts: 35
|
We need to transfer Image files from Windows system to anohter AIX system.What my understanding from the MQSERIES.NET forum is MQ V6 comes with a file transfer concept which can be used to transfer files using MQ.
My question -- > which is the best way of transfering files using MQ V6 file transfer ?, if so is it avilable on AIX too. Do we need to use PM4DATA for better performace or we can write our own java warpper which can put or convert a file into MQ message? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 21, 2006 8:25 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The presupplied "File Transfer" application with MQ v6.0 is not in any way good for production use. It's also a security risk, to a large extent.
It should, however, be available on all platforms - although the documentation that you've double-checked would have confirmed or denied that already.
PM4Data will certainly perform better - under an appropriate definition of "better" that includes all the necessary things that should be involved in an enterprise file transfer.
You can certainly write a Java (or any other language that can access the MQAPI) program that will read files and put them into messages and then read messages and put them into files.
That is, actually, what both the MQ File Transfer sample application and PM4Data do - read files and put them into messages and then read messages and put them into files.
You should spend twenty minutes thinking about all the possible things that really need to happen when the file moves from Windows to AIX, and who needs to know that the file did or did not move, and who needs to know what went wrong if the file didn't move, and whether or not someone needs to be able to move the file again at a later point.
Then you'll have a slight grasp of where you need to start examining your real requirements for file transfer. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
rsashi |
Posted: Fri Apr 21, 2006 9:00 am Post subject: |
|
|
Apprentice
Joined: 29 Jan 2004 Posts: 35
|
Thanks for your reply....
[b]You should spend twenty minutes thinking about all the possible things that really need to happen when the file moves from Windows to AIX, and who needs to know that the file did or did not move, and who needs to know what went wrong if the file didn't move, and whether or not someone needs to be able to move the file again at a later point. [/b]
For your above response does all this come up with PM4DATA.? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 21, 2006 9:22 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You'll have to evaluate PM4Data against your own requirements and see if it meets your needs...
But, yes, from what I've seen of this product, they have spent more than 20 minutes thinking about file transfer in the enterprise. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
rsashi |
Posted: Fri Apr 21, 2006 10:07 am Post subject: |
|
|
Apprentice
Joined: 29 Jan 2004 Posts: 35
|
Which is the better way(faster) to transfer files....
Using Java to build a Message out of file or Message referencing? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 21, 2006 10:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You'll have to evaluate the speeds yourself on your own systems with your own code and your own network. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
rsashi |
Posted: Fri Apr 21, 2006 10:24 am Post subject: |
|
|
Apprentice
Joined: 29 Jan 2004 Posts: 35
|
If we keep performance aside....which is the best way to deal with MQ Java wrapper or Message Reference. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 21, 2006 10:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The one that works best for you, of course. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Apr 21, 2006 11:24 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
Purpose: The MQRMH structure defines the format of a reference message header. This header is used in conjunction with user-written message channel exits to send extremely large amounts of data (called "bulk data") from one queue manager to another. The difference compared to normal messaging is that the bulk data is not stored on a queue; instead, only a reference to the bulk data is stored on the queue. This reduces the possibility of MQ resources being exhausted by a small number of extremely large messages. |
So, if you use reference messages, you don't "load up" your queues with the actual files. But using reference messages and the setup required (message exits) is more complicated that simply dumping the message into the queue. _________________ -wayne |
|
Back to top |
|
 |
|