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 Java / JMS » Testing using a local MQ 5.3 Client and a Remote QM

Post new topic  Reply to topic
 Testing using a local MQ 5.3 Client and a Remote QM « View previous topic :: View next topic » 
Author Message
KeithPark
PostPosted: Mon Feb 02, 2004 6:05 am    Post subject: Testing using a local MQ 5.3 Client and a Remote QM Reply with quote

Apprentice

Joined: 12 Nov 2002
Posts: 25

Hi

I am developing using java on my desktop.

We used to have the full version of MQ on our desktop to allow us to test with local QMs. This has now been withdrawn and we have to use MQ Client and use a remote QM for testing.

How is this done? My search for info so far is going very slowly.

Thanks

Keith
Back to top
View user's profile Send private message
mqonnet
PostPosted: Mon Feb 02, 2004 6:27 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Just add the following to your java app.

MQEnvironment.properties.put(MQC.HOST_NAME_PROPERTY, "XXX.XXX.XXX.XXX");
MQEnvironment.properties.put(MQC.CHANNEL_PROPERTY, "<Svrconn channel name>");
MQEnvironment.properties.put(MQC.PORT_PROPERTY, new Integer(<port listener is running on>));
MQEnvironment.properties.put( MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_CLIENT );

Make sure you define a Svrconn channel on the remote system where your queue manager is running. Also start the listener on the same port that you mentioned in your app as in above snippet.

Hope this helps.

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Mon Feb 02, 2004 6:37 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

If they removed MQ completly from your system, you will need to get the MQ Java jar files back. Download and install the free MQSeries Client for Windows (Support Pack MACV). They will be included with that.
http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24006105&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 Java / JMS » Testing using a local MQ 5.3 Client and a Remote QM
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.