Author |
Message
|
baogang |
Posted: Tue Sep 20, 2005 1:19 am Post subject: Urgent problem on MQ communication between 2 MQ managers |
|
|
Newbie
Joined: 07 Sep 2005 Posts: 6
|
Hi all, I'm fresh-man on MQ.
I built two MQ managers in one computer(Winxp). the logo of channels are runnable which means these two channels are in the status of connection .
When I put messages in one Transmission Queue , the MQ put the messages to Dead.letter.queue instead of destination queue .
why ? I believe I get something wrong with the configuration of MQ manager.
Thank you  |
|
Back to top |
|
 |
sebastianhirt |
Posted: Tue Sep 20, 2005 1:44 am Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
Hi,
Quote: |
Hi all, I'm fresh-man on MQ. |
oh yeah fresh meet
Quote: |
When I put messages in one Transmission Queue , the MQ put the messages to Dead.letter.queue instead of destination queue .
|
You don't do that. You could define a remote queue on the one end and a local queue on the other end and put to the remote queue.
If you go with e.g. MQExplorer to the Dead Letter Queue, It will tell you why the message was put there. use the mqrc command to find out, what the 'translation' of the reason code is.
I'd recommend you reading the Intercommunication Manual, that you can get at the IBM homepage.
Hope this helps
cheers
Sebastian |
|
Back to top |
|
 |
baogang |
Posted: Tue Sep 20, 2005 6:26 am Post subject: Thank u . It works well!! |
|
|
Newbie
Joined: 07 Sep 2005 Posts: 6
|
Thank u . It works well .
what I know about MQ may be wrong . Now these two MQ managers are available to communicate with each other .
my msn is :beemy_guru@hotmail.com |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Sep 20, 2005 10:06 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Well yes and no. Since you have created a QRemote that points to an appropriate:
RNAME(REMOTE.QMGR.DESTINATION.QUEUE.NAME)
RQMNAME(REMOTE.QMGR)
XMITQ(TRANSMIT.QUEUE.NAME)
you can send messges from one MQManager to the other but you also need to define a QRemote on the other MQManager as well as the local destination QLocal.
Like sebastian said, you may want to read some of the excellent documentation provided by IBM regarding this. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
shad |
Posted: Fri Oct 07, 2005 7:04 am Post subject: |
|
|
Newbie
Joined: 07 Jun 2005 Posts: 8 Location: India
|
csmith28 wrote: |
Well yes and no. Since you have created a QRemote that points to an appropriate:
RNAME(REMOTE.QMGR.DESTINATION.QUEUE.NAME)
RQMNAME(REMOTE.QMGR)
XMITQ(TRANSMIT.QUEUE.NAME)
you can send messges from one MQManager to the other but you also need to define a QRemote on the other MQManager as well as the local destination QLocal.
Like sebastian said, you may want to read some of the excellent documentation provided by IBM regarding this. |
Thank you master's Well that was cleared well... Hope he doesnt have any doubts.
Thanks for the suggestion for newbies like us.. _________________ C it ..... U will GET it. |
|
Back to top |
|
 |
|