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 » Creating a Queue? (amqmdnet.dll)

Post new topic  Reply to topic
 Creating a Queue? (amqmdnet.dll) « View previous topic :: View next topic » 
Author Message
ChrisH
PostPosted: Sun Mar 08, 2009 6:50 am    Post subject: Creating a Queue? (amqmdnet.dll) Reply with quote

Newbie

Joined: 26 Feb 2009
Posts: 6

In looking at the MQueueManager there doesn't seem to be a method available to create a queue on a quemanager. Am I missing something here? What method or means should be used to create a queue on the QueueManager?

The reason I'm asking this is that I would like to create a program (or set of programs) that certain users (mainly programmers and testers) can use to create and manage to a degree queues. Of course I'd like to be able to control what they do a bit so just making MQ Explorer available doesn't really seem a viable option.

Christopher
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Mar 08, 2009 8:37 am    Post subject: Re: Creating a Queue? (amqmdnet.dll) Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ChrisH wrote:
What method or means should be used to create a queue on the QueueManager?


Issue PCF commands.

ChrisH wrote:
The reason I'm asking this is that I would like to create a program (or set of programs) that certain users (mainly programmers and testers) can use to create and manage to a degree queues. Of course I'd like to be able to control what they do a bit so just making MQ Explorer available doesn't really seem a viable option.


This is a slightly risky course of action. If you allow end users to create queues you can lose control of the infrastructure; if programmers are creating queues themselves how will you rebuild the queue structure when promoting the code to production when test is complete?

I wonder why testers would ever want to create a queue.

Another point is that it's unlikely the end users will be familiar with all aspects of WMQ, and the ways it can be leveraged. Hence you could end up with a non-optimal and/or hard to administer WMQ set up because it was designed and created by people who (quite literally) didn't know better.

Just my 2 cents worth. Remember that you'll need to include facilities to modify security on the queue manager for the queues they set up.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ChrisH
PostPosted: Sun Mar 08, 2009 9:20 am    Post subject: Re: Creating a Queue? Reply with quote

Newbie

Joined: 26 Feb 2009
Posts: 6

Thanks I thought it would be PCF commands and yes I understand your "caveats" and agree. This may not be the way to go. I'm just looking at (being a programmer myself) not having time to create all these queues that they might want and not wanting to be bugged all the time by them. But strictures and structues might help more than applications.

Thanks for both the pointer to PCF commands and the "warnings".

Christopher
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Mar 08, 2009 12:32 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Do you allow programmers to create adhoc databases and tables, too?

Do yo let them create security authentication and authorization rules?

Should programmers create queuemanagers, channels, and manage firewalls?

These are as much infrastructure as are queuemanager objects. I doubt this has or will pass any kind of audit of separation of power. It's certainly not one of those best-practice thingies.

WMQ APIs allow programmers to dymanically create temporary and permanent dynamic queues - assuming there is authority for them to do so.

Leave admin tasks to trained sysadmins. Let programmers write programs.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » Creating a Queue? (amqmdnet.dll)
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.