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 » WebSphere Message Broker (ACE) Support » JMS messages do not get posted to non default queuemanager

Post new topic  Reply to topic
 JMS messages do not get posted to non default queuemanager « View previous topic :: View next topic » 
Author Message
kapilkamat
PostPosted: Mon May 13, 2002 2:00 am    Post subject: JMS messages do not get posted to non default queuemanager Reply with quote

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
View user's profile Send private message Send e-mail
kolban
PostPosted: Mon May 13, 2002 6:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JMS messages do not get posted to non default queuemanager
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.