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 » Deafult QMgr,Q

Post new topic  Reply to topic
 Deafult QMgr,Q « View previous topic :: View next topic » 
Author Message
Gopi
PostPosted: Mon Jun 17, 2002 7:34 pm    Post subject: Deafult QMgr,Q Reply with quote

Novice

Joined: 23 May 2002
Posts: 18

Hi Guys,
I have one small question.
For every system, we can have one default Qmanager.Thats fine. But i wonder why , we cant have any default Q for each QManager..? Is there any specific reason, that not to have any deafult Q for a QManager?
Can anybody shed me some light?

Thank Q
Gopi.
Back to top
View user's profile Send private message
nimconsult
PostPosted: Mon Jun 17, 2002 10:49 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

The common default local queue is SYSTEM.DEFAULT.LOCAL.QUEUE. The queue is created with the other default objects when you create a new queue manager. This queue is generally used when you install a tool and test your MQ Series configuration. This is however pure convention and there is no such thing as a default queue on a queue manager. I cannot imagine a technical justification to this. On the other hand, I would only use a default queue such as SYSTEM.DEFAULT.LOCAL.QUEUE to practice or test a configuration. For a real application, you will create your own custom queue with custom properties (max depth, max message length, default priority & persistence, event monitoring, triggering...) which are generally different from the default queue properties.
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
muralidhar
PostPosted: Tue Jun 18, 2002 2:24 pm    Post subject: Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 50

Hi Gopi,
If you have access to MQExplorer, you can see the default MQObjects by selecting 'Show System Objects' from view menu.
Back to top
View user's profile Send private message Send e-mail
bduncan
PostPosted: Wed Jun 19, 2002 9:40 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

However, let's point out an important difference between the SYSTEM.DEFAULT.LOCAL.QUEUE and the default queue manager. When you have a default queue manager your application can issue an MQCONN command without specifying anything for the queue manager name, and it will automatically connect to the default queue manager. However, if you issue an MQOPEN command without specifying a queue name, it will always give a 2058 error (unknown object name). So if the need for having a default queue is to be able to issue an MQOPEN without specifying a queue name, then no, the SYSTEM.DEFAULT.LOCAL.QUEUE won't help. In fact, there is no faculty in MQSeries for this particular functionality.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Gopi
PostPosted: Wed Jun 19, 2002 4:27 pm    Post subject: Reply with quote

Novice

Joined: 23 May 2002
Posts: 18

Hi Duncan,
I am exactly looking for the information u gave me. Thanx alot.

Thank you all guys for sharing the information.....

Cheerzz..
Gopi.
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 » Deafult QMgr,Q
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.