Author |
Message
|
jeevan |
Posted: Fri Feb 02, 2007 9:04 am Post subject: MQ design issues |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Can MQ be setup such that the server A goes to server B and polls the message instead of server B sending message to server A. In fact, the files are received at Server B, pm4data ( no idea at all how it works yet) converts these files into message and puts into q of server B. But server B does not send these message to server A. Instead Server A goes and polls these message. How can this be achieved?
Aslo, can transactionality be achieved in this scenario? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Feb 02, 2007 9:49 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It can't be done that way. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Fri Feb 02, 2007 12:02 pm Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
Use MQ Client on Server A. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Feb 02, 2007 12:10 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Or pay for a PM4Data license for Server A, and have PM4Data deliver the file to a QLOCAL on ServerA. It can't (at least that I know of) deliver to a QREMOTE. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Feb 02, 2007 4:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
It can't be done that way. |
And I thought that that was what requester and server channels were for?
Is it an ideal design? Certainly not.
Can it be reasonably implemented? Probably with some scheduling software...on both sides....
Would I recommend it? Never!!
Send as soon as committed! MQ is passthrough!
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Feb 02, 2007 5:00 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
fjb_saper wrote: |
jefflowrey wrote: |
It can't be done that way. |
And I thought that that was what requester and server channels were for? |
Server/Requester channel pairs are for causing the Server A side of the problem to initiate the transfer from Server B to Server A.
They are not for allowing an application connected to Server A to do a GET from a QREMOTE on Server B. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jeevan |
Posted: Sat Feb 03, 2007 6:37 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Thank you for all suggestions. The further clarification is as follows:
They are planning to use the PM4DATA and has paid for software.
The software on AS400 is not mq enabled. It only reads file from as400 library which is put ( supposedly be done by PM4DATA on AS400 side.)
The only concern so far I have is( I have not looked at the PM4DATA yet,) that the model client wants - the AS400 systems making like controlling systems and achieving transactionality ( as files are out of the mq systems how can we achieve the transactionality with files)
In order to make clear, i am repeating the sytems again,
1. Initiallly, files are put in windows machines by WH systems ( independent of the MQ system I am designing )
2. Some system on system A should start the process of processing in every two minutes
3. Once the files are received on A, these are processed by an as4000 rpg application. It is not an mq enabled appl. It only processes files that are put in as400 library.
4. Once the files on as400 library are processed successfully, these files are to be deleted from folder on systems B.
How can I achieve this?
The resources:
mq
pm4data
Any ideas/thought and suggestions will be appreciated
Thank you once again, |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Feb 03, 2007 10:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
PM4Data will be able to coordinate that for you, with one single caveat.
You'll need to put PM4Data on the AS400 system. And probably the MQ Client.
Or you can make the AS400 file system available over another file transfer system - NFS, FTP, SAMBA, etc and have PM4Data deliver the file over that transfer.
You will be able to configure the PM4Data system so that it will only remove the file at the source end after everything else has completed successfully. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jeevan |
Posted: Sat Feb 03, 2007 7:05 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
jefflowrey wrote: |
1. You'll need to put PM4Data on the AS400 system. And probably the MQ Client.
2. Or you can make the AS400 file system available over another file transfer system - NFS, FTP, SAMBA, etc and have PM4Data deliver the file over that transfer.
|
Do you mean that, as400 should have pm4data client ( node I guess)?
Can you please explain the 2 para a bit more. Not being an as400 person, I am having some difficult. If I can transfer as400 file systems and transfer file into that directory, that would be very good. Does that mean,m I have to install pm4data on the another windows machine and make this transfer the files to as400 transferred file system. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Feb 04, 2007 5:39 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I mean that PM4Data can only deliver files to file systems that are accessible to a PM4Data node.
It can't magically cause files to appear somewhere that it can't reach.
So, either you have to make the AS400 a PM4Data node, which will require at minimum the MQ Client. Or you have to make the AS400 file systems accessible to a PM4Data node - using file sharing or FTP or something. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|