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 » 2 Client connections

Post new topic  Reply to topic
 2 Client connections « View previous topic :: View next topic » 
Author Message
fjcarretero
PostPosted: Tue Apr 06, 2004 7:30 am    Post subject: 2 Client connections Reply with quote

Voyager

Joined: 13 Oct 2003
Posts: 88

Hi all,

Does anyone know how to create two client connections to two different QManagers from a single application?

TIA

Regards
Felipe
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Apr 06, 2004 7:50 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Just create 2 different QM objects, resetting all the MQEnvironment variables before each create.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Apr 06, 2004 8:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Here is a thread with code snippet

http://www.mqseries.net/phpBB2/viewtopic.php?t=8019&highlight=singleton
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » 2 Client connections
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.