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 » How to send a message to a Remote Queue using JMS ?

Post new topic  Reply to topic
 How to send a message to a Remote Queue using JMS ? « View previous topic :: View next topic » 
Author Message
sharan_nag
PostPosted: Tue Nov 27, 2007 1:43 am    Post subject: How to send a message to a Remote Queue using JMS ? Reply with quote

Newbie

Joined: 25 Oct 2006
Posts: 7

Hi,
I am trying to send a message using JMS API to a remote QueueManager(specifed in the replyto field of the incoming message). I am getting vax.jms.InvalidDestinationException: MQJMS2008: failed to open MQ queue QUEUE_NAME. [Completion code 2, Reason 2087].
Can you please help me with this ?
Thanks in advance.

Sharanu.
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Tue Nov 27, 2007 2:52 am    Post subject: Re: How to send a message to a Remote Queue using JMS ? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sharan_nag wrote:
I am getting vax.jms.InvalidDestinationException: MQJMS2008: failed to open MQ queue QUEUE_NAME. [Completion code 2, Reason 2087].
Can you please help me with this ?


An absolutely minimal amount of research would have yielded this:

Code:
2087  0x00000827  MQRC_UNKNOWN_REMOTE_Q_MGR


Ask your MQ admin why your local queue manager doesn't know about the one you're trying to reply to and get him to fix it. Your code is fine.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sharan_nag
PostPosted: Tue Nov 27, 2007 2:58 am    Post subject: How to send a message to a Remote Queue using JMS ? Reply with quote

Newbie

Joined: 25 Oct 2006
Posts: 7

Hi,
Sorry. What should I tell my MQ Admin about this. What should he set in order to make this work ?

Thanks.
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue Nov 27, 2007 2:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Tell him the name that's in the ReplyToQueue, the name that is in the ReplyToQmgr, the name of the qmgr you are connected to, and the RC (2087).
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 27, 2007 5:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

And if he still doesn't appear to understand tell him you need a default path form the qmgr you're connected to to the replyto qmgr.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sharan_nag
PostPosted: Wed Nov 28, 2007 6:30 am    Post subject: How to send a message to a Remote Queue using JMS ? Reply with quote

Newbie

Joined: 25 Oct 2006
Posts: 7

Hi,
Thanks all. This got resolved after creating the transmission Queue.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to send a message to a Remote Queue using JMS ?
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.