|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WMB architectural question |
« View previous topic :: View next topic » |
Author |
Message
|
KoGor |
Posted: Thu May 13, 2010 5:01 am Post subject: WMB architectural question |
|
|
Voyager
Joined: 09 Nov 2005 Posts: 81 Location: Moscow,Russia.
|
Hi All!
I have a task and I wonder if it can be solved by message broker. The task is the following. I have an FTP client in network_1 that should connect to the FTP server which is in Network_2. There is no TCP/IP between this networks. This networks connected by non-IP protocol. We have only two MQ managers - an one mq mgr in each network. They can intercommunicate with each other.
I want to put message broker in each network. Then FTP client would connect to the WMB using standard FTP protocol and then pass the request to the message flow as it would be simple FTP server. The request is usual FTP commands (CONNECT TO;USER;PASS etc.) WMB should then create from each FTP command a MQ message and send them by MQ to the second Message Broker instance. On the second WMB I should do inverse operation - get FTP command from MQ messages and initiate connection with this real FTP server using parameters from MQ messages. After a file from FTP server will be downloaded by the second WMB it should be sent back to the first WMB by MQ. And the first WMB would reply this file to the FTP client. My question is it possible to create such schema using standard features of WMB? I hope I described the problem clear enough. If it is not, I'm drawing a picture right now and put it here later.
The problem that there is no TCP/IP connection between this two MQ managers. They are connected by non routed IP protocol. But we have to lay on FTP and HTTP protocols over MQ. This is the only solution that has come into my head.
Thank you in advance for any help!  |
|
Back to top |
|
 |
mqjeff |
Posted: Thu May 13, 2010 5:37 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Broker doesn't have FTPInput or FTPOutput nodes that would do the kind of FTP operations you're looking for it to do.
The FileInput and FileOutput nodes will retrieve and store data over FTP, but that is *not* what you're trying to do.
You're trying to have Broker act as an FTP server.
It's not clear why you want to use FTP Clients to talk to broker when you can use MQ Clients.
ETA: I suppose if you really feel like it, you can use the TCPIP nodes to accept FTP connections. Going to be kind of painful though. |
|
Back to top |
|
 |
AndreasMartens |
Posted: Tue May 18, 2010 7:40 am Post subject: File Transfer Edition |
|
|
 Acolyte
Joined: 30 Jan 2006 Posts: 65 Location: Hursley, UK
|
Sounds like what you really could to with is replacing the FTP infrastructure with MQ FTE, this'll give you proper reliable file transfers...
Maybe give us a bit more of a higher-level picture, what is the FTP client trying to achieve? Can it be replaced? You could for example have a broker reading in the files the FTP client was meant to be sending using the FileInput node, placing the message on MQ and then pushing the file either straight to the filesystem or to the FTP server.
If you really can't remove the FTP client, you could get it to put to a local ftp server which is backed by a directory the broker is monitoring using the FileInput node. But it's not a very pretty solution, in fact I'd deny I'd suggested it in the first place!
cheers,
Andreas |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue May 18, 2010 9:21 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I'd like to know what protocol you are using to connect the two WMQ Queue managers with.
Most installations these days use TCP/IP to connect queue managers _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
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
|
|
|
|