Hi,
My name is Vinayak Shet and I am a programmer.
We are using MQseries 5.0 in our project. We had installed MQseries 5.0 on
Unix Sun Solaris machine. We wrote some sample programs for testing but we
are facing some problems with the same.
Here is the scenario.
We have 2 queue managers running on the same machine (Unix Box) and we are trying to
communicate
between these two QM's. But when we are sending message from source Q to
target Q the message is being written to the DeadLetter Q of target QM
instead of the target Q that we need to send the message to.
We tried everthing that we knew but are not able to resolve the problem
So can you please provide us some solution to the problem.
* Dead letter queue
DEFINE QLOCAL(DO.DAY.DEAD.LETTER.QUEUE) USAGE(NORMAL) +
DESCR('Dead letter queue for DO_DAY messages') REPLACE
* Sender channel to DTC Services
DEFINE CHANNEL(TO.DTC_SRVC) CHLTYPE(SDR) +
CONNAME('brain.ny.jpmorgan.com(1415)') +
DESCR('Sender channel for DO_DAY messages') +
XMITQ(DTC_SRVC.QUEUE.MANAGER) REPLACE
4.Target QM configuration file.
*****************************
* DO DAY Server Configuration
*****************************
* Local target(inbound) queue
DEFINE QLOCAL(DO.DAY.QUEUE) USAGE(NORMAL) +
DESCR('Local queue for DO_DAY messages') REPLACE
* Dead letter queue
DEFINE QLOCAL(DO.DAY.DEAD.LETTER.QUEUE) USAGE(NORMAL) +
DESCR('Dead letter queue for DO_DAY messages') REPLACE
* Receiver channel from client
DEFINE CHANNEL(TO.DTC_SRVC) CHLTYPE(RCVR) +
DESCR('Receiver channel for DO_DAY messages') REPLACE
Hi Peter,
The problem has been solved.
I had created the queue managers with names in lower case, but in my QUEUE definitions I gave the Q manager name in uppercase. I changed the name to lowercase but inside the single quotes and everything ran fine.
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