Author |
Message
|
Vin |
Posted: Tue Mar 26, 2002 7:37 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
All JMS Gurus,
I'm trying to use JMS to connect to MQ and get messages from a remote Queue (local to an other QManager). Can anyone tell me how to obtain the connection to MQ and how to get the messages from the Queue? any help is greatly appreciated. Thanks.
Vin |
|
Back to top |
|
 |
kolban |
Posted: Tue Mar 26, 2002 8:46 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
Real simple, you can only get messages from local queues attached to the queue manager to which you are connected. You simply can't get messages from a remote queue manager unless you are connected to that queue manager as a client. |
|
Back to top |
|
 |
Vin |
Posted: Tue Mar 26, 2002 9:30 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Thanks very much. Have an other question though. Do I need to install MQClient with my MQSeries Server? How do I get the messages using MQClient. Do you have any code samples or can you direct me to some. The application has to get messages from a remote Queue and process them locally. The environment is Solaris. Thanks again. |
|
Back to top |
|
 |
abmanesh |
Posted: Wed Mar 27, 2002 6:22 am Post subject: |
|
|
Apprentice
Joined: 06 Nov 2001 Posts: 39
|
|
Back to top |
|
 |
Vin |
Posted: Wed Mar 27, 2002 12:35 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Thanks, that helps. Since I'm doing remote Queue operations, I need to use the MQSeries Intercommunication right? Also where can I get the MQCommands for creating the QueueManager, channels and Queues with various attributes (Depth, Type etc.) Is there a Redbook available or is it somewhere on the web? Appreciate your help. |
|
Back to top |
|
 |
|