|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ for file transfers |
« View previous topic :: View next topic » |
Author |
Message
|
Hema30 |
Posted: Wed Feb 16, 2005 2:06 pm Post subject: MQ for file transfers |
|
|
Acolyte
Joined: 02 Aug 2003 Posts: 59
|
In our environment we have to setup MQ for transfering files.Some application will generate a file and put it in a folder, and MQ needs to grab the file and put it in a folder on a remote server.I know what all MQ components needed. I want some inputs on the MQ program which grabs the file and puts on the Remote queue. And how the Get program on the recieving side needs to be setup.
Thanks
Hemalatha .A |
|
Back to top |
|
 |
csmith28 |
Posted: Wed Feb 16, 2005 5:51 pm Post subject: Re: MQ for file transfers |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Hema30 wrote: |
In our environment we have to setup MQ for transfering files.Some application will generate a file and put it in a folder, and MQ needs to grab the file and put it in a folder on a remote server.I know what all MQ components needed. I want some inputs on the MQ program which grabs the file and puts on the Remote queue. And how the Get program on the recieving side needs to be setup.
Thanks
Hemalatha .A |
OK, MQManagers don't have folders they have what is called Queue's.
MQ doesn't GET messages from folders. Applications PUT messages to MQManagers. If the message/file is destined for an MQManager on a remote Server the message/file needs to be PUT to a QRemote. That QRemote will point to a Transmit Queue that will idealy TRIGGER a Sender Channel to start. The Sender Channel send the message to the Remote MQManager where the Remote MQManager will place the message on the Destination QLocal. Then it is up to the Application to GET the message off the Destination QLocal unless you define a PROCESS that will be TRIGGERed one certain threshold criteria are met.
You may want to take the IBM/UX Introduction to WebSphere MQSeries class to get a better concept of exactly how this all works.
I would get more indepth on how it works but I don't have time to type it all out in detail and besides, IBM has already done a bang up job of documenting MQSeries. See the "ducumentation" link at the top of the page.
Oh and Ummm.......
Good luck. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Feb 16, 2005 7:34 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Click on that documentation button, go to the Aplication Programming Guide's Index, and look up Reference messages. You too Chris! _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
csmith28 |
Posted: Thu Feb 17, 2005 9:29 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Did you mean this part:
To initiate transfer of a large object, an application can put a message consisting of
a reference message header with no data following it. As this message leaves the
node, the message exit retrieves the object in an appropriate way and appends it to
the reference message. It then returns the message (now larger than before) to the
sending Message Channel Agent for transmission to the receiving MCA.
Another message exit is configured at the receiving MCA. When this message exit
sees one of these messages, it creates the object using the object data that was
appended and passes on the reference message without it. The reference message
can now be received by an application and this application knows that the object
(or at least the portion of it represented by this reference message) has been
created at this node. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
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
|
|
|
|