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 » General IBM MQ Support » need of default QM

Post new topic  Reply to topic
 need of default QM « View previous topic :: View next topic » 
Author Message
pkbab
PostPosted: Fri Sep 04, 2009 4:04 am    Post subject: need of default QM Reply with quote

Novice

Joined: 08 Aug 2009
Posts: 16

Hi am new to websphere MQ

COULD PLZ ANYONE TELL XACTLY
what is the need of DEFAULT QM?

IN INFOCENTER THEY MENTIONED THE DEFINITION

ONE ANSWER I CAME TO KNOW IS APPLICATIONS CONNECT TO DEFAULT QM
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Fri Sep 04, 2009 4:13 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

There is no NEED of a default QMGR.

You can declare one to be the default.

imho, I think it is a bad idea to rely on that type of convention. Eventually, you or your teammates will commit the sin of typing a command meant for one system and it will accidentally run in production because you were looking at production to get an idea of what you needed to do...

Then, disaster strikes because you didn't design it out.

Always be specific about which QMGR you want to use.
Back to top
View user's profile Send private message AIM Address
sumit
PostPosted: Fri Sep 04, 2009 5:36 am    Post subject: Re: need of default QM Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

pkbab wrote:
ONE ANSWER I CAME TO KNOW IS APPLICATIONS CONNECT TO DEFAULT QM

Application can connect to any queue manager you want it to connect. It just means that if you are not mentioning a queue manager name in your application, only then it will connect to default queue manager.
Mention the queue manager name if you want to connect to a queue manager which is not default.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
shashivarungupta
PostPosted: Fri Sep 04, 2009 7:01 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Quote:
... if you are not mentioning a queue manager name in your application, only then it will connect to default queue manager....


If there is any, in that system.

Agree with JosephGramig.

{If you are using the unix flavor then try hitting the runmqsc without the name of the queue manager... you'll get the answer.}
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
pkbab
PostPosted: Sat Sep 05, 2009 1:13 am    Post subject: Reply with quote

Novice

Joined: 08 Aug 2009
Posts: 16

i understood

thank u guys
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Sep 06, 2009 3:43 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Best practise is to not have a default queue manager. The application should always connect to a named qmgr. That way, they can always be sure of what MQ resource they are using. It also avoids the problem of an app connecting to the incorrect default qmgr when someone creates a new qmgr and accidentally makes it the default.
_________________
Glenn
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Sep 06, 2009 10:17 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

gbaddeley wrote:
Best practise is to not have a default queue manager. The application should always connect to a named qmgr. That way, they can always be sure of what MQ resource they are using. It also avoids the problem of an app connecting to the incorrect default qmgr when someone creates a new qmgr and accidentally makes it the default.


_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » General IBM MQ Support » need of default 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.