|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS messages do not get posted to non default queuemanager |
« View previous topic :: View next topic » |
Author |
Message
|
kapilkamat |
Posted: Mon May 13, 2002 2:00 am Post subject: JMS messages do not get posted to non default queuemanager |
|
|
Newbie
Joined: 13 May 2002 Posts: 3 Location: Pune, India
|
I am using the following MQ classes to create a MQQueue object to put messages in my queue.
((MQQueue)queue).setBaseQueueName(queueName);
((MQQueue)queue).setBaseQueueManagerName(queueManager);
If I dont specify any queuemanager then it looks for the queue on the default queuemanager which is fine.
However in the second statement if I set a queuemanager which is not the default queuemanager then I get an exception MQJMS2008 and says that the MQQueue was not found.
How do I put a message on a queue which is not on the default queue manager?
~kk |
|
Back to top |
|
 |
kolban |
Posted: Mon May 13, 2002 6:10 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
You can put a message on a remote queue (one managed by a remote queue manager) as long as there is a path to the remote queue manager. As a test, assuming that you have a remote queue called Q1 hosted by queue manager B, then on queue manager A, create a remote queue definition, say also called Q1 which names QM B as the target.
Using IBM supplied samples like amqsput, can you put a message to Q1 on A and see it arrive on Q1 on B? If not, that issue needs resolved first before progressing with the Java coding. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|