Posted: Fri Jan 02, 2004 7:51 am Post subject: multithreading in mqseries
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.
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.
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
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.
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