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 » Queue Manager object thread safe?

Post new topic  Reply to topic
 Queue Manager object thread safe? « View previous topic :: View next topic » 
Author Message
JohnRodey
PostPosted: Thu Feb 23, 2006 2:56 pm    Post subject: Queue Manager object thread safe? Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

Im creating a java QueueManager object which creates a connection to MQ. If this object is static then I only have one connection shared amongst all threads correct? If all threads put() at the same time will the QueueManager object syncronize the connection? Is this unwise to do since now I am making threads wait in line?

Thanks in advance!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 23, 2006 3:14 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Read up on the using Java manual about thread pooling.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Queue Manager object thread safe?
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.