ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Have MQ-Client. Is possible to connect to remote QM w/java?

Post new topic  Reply to topic
 Have MQ-Client. Is possible to connect to remote QM w/java? « View previous topic :: View next topic » 
Author Message
pgovinda
PostPosted: Tue Mar 04, 2008 6:10 pm    Post subject: Have MQ-Client. Is possible to connect to remote QM w/java? Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Tue Mar 04, 2008 7:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Mar 04, 2008 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed Mar 05, 2008 6:42 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Good idea!
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Mar 05, 2008 6:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Or stunnel...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pgovinda
PostPosted: Wed Mar 05, 2008 11:03 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Wed Mar 05, 2008 11:23 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

MS81: WebSphere MQ internet pass-thru (a.k.a MQIPT)
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24006386&loc=en_US&cs=utf-8&lang=en
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Have MQ-Client. Is possible to connect to remote QM w/java?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.