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 » MQ - Remote Queue

Post new topic  Reply to topic
 MQ - Remote Queue « View previous topic :: View next topic » 
Author Message
msnathan
PostPosted: Tue Oct 18, 2005 9:44 am    Post subject: MQ - Remote Queue Reply with quote

Newbie

Joined: 22 Aug 2005
Posts: 3

Following is my environment:

MACHINE A:
MQ Server
LocalQ - L1
RemoteQ - R1 -> Queue(L2)
XMTQ - X1

MACHINE b:
MQ Server
LocalQ - L2


When I look up on the Initial Context., I dont see any objects binded to RemoteQ., So I created a LocalQ L11 in Machine A and pointed to RemoteQ R1. L11 is available in the Jndi lookup., But any messages send to L11 remains in that Queue and never get forwarded to Machine B?

My Question is how to get a JNDI reference for a Remote Queue?

Muthu
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 18, 2005 9:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You don't need L11. It will never do what you want, because it's not the way MQ works.

Just create a JNDI binding that points to R1

That's it! Oh, and don't try and GET from R1.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
msnathan
PostPosted: Tue Oct 18, 2005 11:30 am    Post subject: Reply with quote

Newbie

Joined: 22 Aug 2005
Posts: 3

How do I create JNDI binding for the remote Queue?

I logged in using JMSAdmin and the command DEF QREMOTE ... doesnt bind to JNDI.,

BTW., I am using MQContext and Using WMQInitialContextFactory.,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 18, 2005 1:15 pm    Post subject: Reply with quote

Grand High Poobah

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

Def QR is for the qmgr (runmqsc)

use
Code:
def q(myremoteq)
in JNDI

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ - Remote Queue
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.