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 » Remote queue configuration in java

Post new topic  Reply to topic
 Remote queue configuration in java « View previous topic :: View next topic » 
Author Message
stevenps
PostPosted: Thu Jun 10, 2004 2:21 pm    Post subject: Remote queue configuration in java Reply with quote

Newbie

Joined: 10 Jun 2004
Posts: 3

We have an installation in which we are connecting to a LOCAL queue-manager which is an alias to a remote queue-manager.

The accessQueue() method in java provides only for a Queue-Name and options, but no parameter for the remote queue-manager name (such as it does in VB).
How is this done in Java,?
Back to top
View user's profile Send private message
stevenps
PostPosted: Thu Jun 10, 2004 2:23 pm    Post subject: Reply with quote

Newbie

Joined: 10 Jun 2004
Posts: 3

I should note that the error-code we receive is the 2085 code from IBM:

2085 MQRC_UNKNOWN_OBJECT_NAME X'825' Unknown object name.
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Jun 11, 2004 6:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Code:

accessQueue public synchronized MQQueue accessQueue (
String queueName,
int openOptions,
String queueManagerName,
String dynamicQueueName,
String alternateUserId) Throws MQException.


The third parameter is the QMGR Alias
Back to top
View user's profile Send private message Send e-mail Visit poster's website
stevenps
PostPosted: Fri Jun 11, 2004 9:51 am    Post subject: Reply with quote

Newbie

Joined: 10 Jun 2004
Posts: 3

I am trying this method now. Does not seem well documented by IBM as it reflects the dynamic allocation of a queue based on a model (template). I am familiar with this in JMS, temporary queues, and assume it is a similar concept.
I believe that this will work.
From a philisophical point of view I am not pleased as I would have thought that the local queue definition would have contained the appropriate routing information and that I would not have had to specify it.
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 » IBM MQ Java / JMS » Remote queue configuration in java
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.