Author |
Message
|
pgovinda |
Posted: Tue Mar 04, 2008 6:10 pm Post subject: Have MQ-Client. Is possible to connect to remote QM w/java? |
|
|
Novice
Joined: 27 Feb 2008 Posts: 10
|
Hello -
Sorry the abstract is probably not so explanatory. I will try to explain the scenario, and I pretty much think that the answer to my question is "its not possible" ... but if anyone could tell me otherwise, it would make things a lot easier
So the scenario is as follows.
There is MQ Server setup on Machine-A, with a QMGR called qmgr_test.
There is MQ Client setup on a Machine-B. And this client is configured to talk to the MQ Server on Machine-A.
And to make things more interesting, our application is running on Machine-C.
I know that if we have the ip address for Machine-A, and other parameters like listener-port etc, we can connect to the qmgr on Machine-A directly using com.ibm.mq.jar
However there are certain situations where we know only about Machine-B and the ip address for Machine-B. Is it still possible to connect to the QMGR qmgr_test(on Machine-A), by using the hostname for machine-B. Forgive me if it sounds dumb.
Thanks! |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Mar 04, 2008 7:28 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If you are on C and want to get to A but can only talk to B, and you want to do this via MQ, you have to install of full queue manager on B to talk to the queue manager on A. You then make a client connection from C to B, and B makes a QM to QM connection to A.
MQ Clients can't make an MQ connection directly to other MQ Clients. MQ Clients can only talk to Queue Managers. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 04, 2008 9:41 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You could also potentially install MQIPT on machine B (see support packs) and have it reroute the traffic to A...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Mar 05, 2008 6:42 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Good idea!  _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 05, 2008 6:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Or stunnel... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pgovinda |
Posted: Wed Mar 05, 2008 11:03 am Post subject: |
|
|
Novice
Joined: 27 Feb 2008 Posts: 10
|
fjb_saper wrote: |
You could also potentially install MQIPT on machine B (see support packs) and have it reroute the traffic to A...
Enjoy  |
Thanks very much for the ideas. I am not sure what MQIPT is yet, but will try to find some documentation abt it now Atleast it looks like there might be some light at the end of the tunnel
Thanks! |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Mar 05, 2008 11:23 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
|