Author |
Message |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Thu Aug 11, 2005 12:59 pm Subject: Setting up a QM alias |
I did this, and it works only for local queues. Since MyQueue is a cluster queue, it again gives me an error.
You did not do it properly; it does work.
My setup:
qmgr DNT33, a PR in cluste ... |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Thu Aug 11, 2005 4:40 am Subject: Setting up a QM alias |
You do not need a remote queue definition at all. When your app calls MQOPEN, put the qm alias name in the ObjectQMgrName field of the MQOD structure.
I did this, and it works only for local queues ... |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Wed Aug 10, 2005 6:13 am Subject: Setting up a QM alias |
You do not need a remote queue definition at all. When your app calls MQOPEN, put the qm alias name in the ObjectQMgrName field of the MQOD structure.
I dont know why, but MQ documentation on Java ... |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Tue Aug 09, 2005 11:40 am Subject: Setting up a QM alias |
So then I'd recommend you look at the MQ Cluster's book, chapter 4 "Putting from a Queue Manager outside the cluster- alternative" for the definitions to use....
Where would I get this book? |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Tue Aug 09, 2005 11:22 am Subject: Setting up a QM alias |
So, I think what you are saying is:
MyQueue is a queue which is not a local queue on QM2 but is a queue which is in a cluster which QM2 is also in. Correct?
Yes, exactly. It shows up as a clust ... |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Tue Aug 09, 2005 11:15 am Subject: Setting up a QM alias |
I thought you said that the queue is hosted on QM2. Is the queue manager QM2 and other queue manager that actually hosts the queue in same cluster??
Yes, QM2 and this other QM - say QM3, are in the ... |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Tue Aug 09, 2005 11:07 am Subject: Setting up a QM alias |
Even though its a cluster queue, still its a local queue to that queue manager.
It's hosted on a different queue manager on a different machine. There's a difference between "local clustered" queue ... |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Tue Aug 09, 2005 10:53 am Subject: Setting up a QM alias |
So if you're not using clustering between QM1 and QM2, then you need a qremote definition on QM1:
DEFINE QREMOTE('CommonQM') RNAME('MyQueue') RQMNAME(QM2)
Then, "amqsput C ... |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Tue Aug 09, 2005 10:43 am Subject: Re: Setting up a QM alias |
[quote="Michael Dag]
MQ uppercases by default...
use DELETE QREMOTE(CommonQM) to remove and then
DEFINE ('CommonQM') RQMNAME('QM2')
if transmission Q and channels are setup correctly it s ... |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Tue Aug 09, 2005 10:40 am Subject: Setting up a QM alias |
Backup a little bit for us...are QM1 and QM2 in a queue manager cluster and is MyQueue also in that cluster? If so, you don't need (nor want) to specify a qmgr name, just connect to QM1 and open myQu ... |
Topic: Setting up a QM alias |
andrey81inmd
Replies: 28 Views: 17724
|
Forum: General IBM MQ Support Posted: Tue Aug 09, 2005 10:06 am Subject: Setting up a QM alias |
Hello,
I have two QM's on my Windows machine, QM1 and QM2. QM1 is the default QM. In my Java code, I need to put a message on a cluster queue, call it MyQueue, which is located in QM2. I need to do ... |
Topic: Sending messages to a cluster queue |
andrey81inmd
Replies: 12 Views: 7138
|
Forum: Clustering Posted: Wed Jul 20, 2005 11:07 am Subject: Sending messages to a cluster queue |
Thanks to everyone for trying to help. As usual with MQ and WebSphere, this turned out to be a configuration problem. I'm a programmer so I dont really know what the admins did, but they basically sep ... |
Topic: Sending messages to a cluster queue |
andrey81inmd
Replies: 12 Views: 7138
|
Forum: Clustering Posted: Tue Jul 19, 2005 1:35 pm Subject: Sending messages to a cluster queue |
But I did this:
((MQQueueConnectionFactory) factory).setQueueManager(QM1);
This sets the Queue Manager. What's the difference? |
Topic: Sending messages to a cluster queue |
andrey81inmd
Replies: 12 Views: 7138
|
Forum: Clustering Posted: Tue Jul 19, 2005 11:07 am Subject: Sending messages to a cluster queue |
Here's a piece of my code:
factory = new MQQueueConnectionFactory();
((MQQueueConnectionFactory) factory).setQueueManager(QM1);
connection = factory.createQueueConnection();
boolean transacted = ... |
Topic: Sending messages to a cluster queue |
andrey81inmd
Replies: 12 Views: 7138
|
Forum: Clustering Posted: Tue Jul 19, 2005 10:38 am Subject: Sending messages to a cluster queue |
is your local machine part of the cluster???
Yes, but it's not the host of this queue |