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 » multithreading in mqseries

Post new topic  Reply to topic
 multithreading in mqseries « View previous topic :: View next topic » 
Author Message
brgmo
PostPosted: Fri Jan 02, 2004 7:51 am    Post subject: multithreading in mqseries Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Hi All
Can somebody tell me as how to use multithreading in mqseries.i have read manuals about multithreading but they dont throw much light.so can somebody tell me what rae the advantages and disadvantages of using mqseries multithreading if i am using java as the programming language.

regards
brgmo
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jan 02, 2004 8:52 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You use multithreading with MQSeries in Java the same way you use multithreading with anything else in Java.

The advantages and disadvantages of using multithreading in Java with MQSeries are the same as the advantages and disadvantages of using multithreading in Java with anything else.

Can you please post a specific question about exactly what you want to know, or exactly what you are trying to do?

Have you read the Using Java manual? Did it address multithreading? Did you not understand what it said?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
brgmo
PostPosted: Mon Jan 05, 2004 8:19 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

i am trying to read queue using java and i want multiple threads to access the queue.however if this is thing then we will have to alllocate a separate instance of qmgr for every thread which i dont want.so is there any other efficient way of doing multithreading in java
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jan 05, 2004 8:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

brgmo wrote:
so is there any other efficient way of doing multithreading in java


JeffLowrey wrote:
Have you read the Using Java manual? Did it address multithreading?

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Jan 05, 2004 12:26 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I've got to agree with Jeff. If you'll look in the Using Java manual, you'll find a section on "Multithreaded programs". It is in Chapter 7 and actually has an entry in the index so that you can go to the exact page.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » multithreading in mqseries
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.