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 » MQQueueManager Object Pooling

Post new topic  Reply to topic
 MQQueueManager Object Pooling « View previous topic :: View next topic » 
Author Message
anilmqseries
PostPosted: Mon Oct 17, 2005 9:36 pm    Post subject: MQQueueManager Object Pooling Reply with quote

Newbie

Joined: 17 Oct 2005
Posts: 1

Hi

We use amqmdnet.dll for call MQ functions (in .NET applications).

Does IBM doesn't provide a connection(MQQueueManager Object Pooling) pooling in their .NET implementation?

Can I call the same MQQueueManager Object from different threads.


Thanks
Anil
Back to top
View user's profile Send private message
jasonJonas
PostPosted: Tue Oct 18, 2005 11:49 am    Post subject: Reply with quote

Novice

Joined: 07 Sep 2005
Posts: 10

there is no pooling of MQQueueManager objects within the dotnet implementation. however, writing a simple object pooling solution, if truly needed, is a rather simple task.

things to consider...

1. for a single MQQueueManager instance, all access is synchronized.

2. if one or more of your application's threads requires concurrent access to a queue manager, each thread must create/use its own MQQueueManager instance.

and i'm not too certain i'd do this in the vast majority of cases, but you can disable synchronization within MQQueueManager using one or two different options that i'm not able to remember off the top of the ol' noggin.

if you haven't already, consider reading the "Websphere MQ - Using .NET" redbook. it covers some of this stuff.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQQueueManager Object Pooling
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.