Hello, 

There is a requirement to be notified when a message has expired -in a queue
(it could be sitting on a transmission queue or on a local queue on a remote
system). I have defined 2 Queue Managers QM1 and QM2.  The source of the
message is from QM1 to QM2. When a message is being put from QM1 - a
ReplyToQName has been specified a 'QM2.REMOTE.QUEUE (on QM2)  and the
'ReplytoQMgrName' as blanks. 

The remote queue QM2.REMOTE.QUEUE on QM2 has a local definition
QM1.LOCAL.QUEUE �n QM1. 

When a message is received by the Queue Manager QM2,  the 'ReplyToQMgrName'
has a value QM1 and 'ReplytoQname'  is maintained as it is
'QM2.REMOTE.QUEUE' (which is incorrect). On expiry of a message QM2 puts the
message into SYSTEM.DEAD.LETTER.QUEUE  with reason code -0827 (2087) -
Unknown Remote Object Queue Manager. 

I expect that the'ReplyToQName' would be updated as 'QM1.LOCAL.QUEUE' so
that the message is placed in the appropriate queue on QM1. 
What could be reason for this error. 


1. I have tried specifying the 'ReplyToQname as QM1.LOCAL.QUEUE' and
'ReplyToQMgrName as QM1, the error is the same (0827 or 2087). 
2. I have also tried specifying 'ReplyToQName as QM2.REMOTE.QUEUE' and
'ReplyToQMgrName as QM2, then it works. The problem is that it not possible
to get the remote queue manager name from the application. Hence I am
looking for a solution. 

As per the MQSeries Application Programming Reference /  "Message
Descriptors" - the Queue Manager QM2 should update the ReplyToQName as
QM1.LOCAL.QUEUE and ReplyToQMgrName as 'QM1,  when the message is put with
ReplyToQName as QM2.REMOTE.QUEUE and ReplyToQMgrName as blanks. It is
expected that it looks up its local defintion. 

Thanks 
lakshmi


****************************************************************************
The content of this e-mail is intended only for the confidential use of the
person addressed. If you have received this message in error, please notify
us immediately by electronic mail, by telephone or by fax at the above num-
bers.

E-mail communications are not secure and therefore we do not accept any res-
ponsibility for the confidentiality or altered contents of this message.

Please be aware that SIS Group and its subsidiary companies cannot accept
any orders or other legally binding correspondence with a participant as
part of an E-mail. The views expressed above are not necessarily those held
by SIS Group and its subsidiary companies and not binding for them.
****************************************************************************

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to