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 » Connection Type

Post new topic  Reply to topic
 Connection Type « View previous topic :: View next topic » 
Author Message
techno
PostPosted: Wed Aug 06, 2003 2:33 pm    Post subject: Connection Type Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

qMgr =new MQQueueManager(qManager);

If I do not specify any connection mode, is it (default) server connection?

Is this equivalent to specifying MQCNO_STANDARD_BINDING in above constructor?

Do we have API to know what kind of connection a qmgr has got


Thanks
Shiva.
Back to top
View user's profile Send private message
Yannanlu
PostPosted: Fri Aug 08, 2003 4:55 pm    Post subject: Reply with quote

Apprentice

Joined: 23 Jan 2002
Posts: 27

The default mode is BINDING. But on some platform, like W2K, there is no BINDUBG support. You have to specify TCP mode in this case.

For API, check the manual of Using Java.
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Aug 08, 2003 9:24 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

'Scuse me. What do you mean there is no BINDBUD (sic) support in Win2K, Of course there is.

If you do a "new MQQueueManager(qManager)" without setting anything in MQEnvironment, then you get a Server (Binding) connection. If you set up MQEnvironment correctly, then you get a Client connection.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » Connection Type
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.