|
Using expiry report options wouldn't work quite as I would like.
Front end sends request, with own reply
queue and own QMgr name.
Backend system processes and sends
reply. To specify report options, backend system must know what front
end queue to specify and also what front-end QMgr to specify. It
knows the front-end QMgr 'cos its in the request MQMD which it is already
using. The queue name itself might be different for different front end
systems:
WEB.REPLY.QUEUE and
WEB.CLEANUP.QUEUE
CALL.CENTRE.REPLY.QUEUE and
CALL.CENTRE.HOUSE.KEEPING.QUEUE
ANOTHER.REPLY.QUEUE and
ANOTHER.HOSPITAL.QUEUE
MOWBLIE.SMS.REPLY.QUEUE and no other queue
'cos it isn't doing a matched get so they'll all get picked up.
etc. etc.
Making the backend system dependent on
knowing front end queue names/architecture is too much coupling for
me.
In any case, my "requirement" was a
theoretical use case. My requirements would be to be able to get messages
that have missed their response thread.
The best one I saw for this was for every
response thread that timed out, put the MQMD onto a
cleanup/housekeeping/hospital queue and have the cleanup thread use that to get
specific messages from the reply queue (a bit like a dead letter handler I
guess). Once the cleanup thread has found a matching reply
queue message for the correlid on the cleanup/whatever queue, it can remove
the message from both queues and process it.
The backend system does not have to know
about any of the front-end system's queue names/architecture, except those
passed in the MQMD for normal request/reply. The cleanup process is a
front-end problem, not a backend problem.
I could use application fields/RFH2 headers
in the request message for extra queue names etc. but that still makes the
backend system depend upon the processing requirements of the front end above
the "standard" request/reply scenario.
Regards
John Scott
IBM Certified Specialist -
MQSeries
ARG Infrastructure Services -
Middleware
-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Sent: 13 February 2006 13:38 To: [email protected] Subject: Re: Get by CORRELID VS Generic Get
- -------------------------------------------------------------- Check our latest prices and full range at http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and/or confidential, and is intended exclusively for the addressee. Unauthorised disclosure, copying or distribution of the contents is strictly prohibited. The views expressed may not be official policy, but the personal views of the originator. If you have received this message in error, please advise the sender by using the reply facility in your e-mail software. All messages sent and received by Argos Ltd are monitored for viruses, high-risk file extensions, and inappropriate content. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html |
Title: Message
- Re: Get by CORRELID VS Generic Get MQ-SERIES
- Re: Get by CORRELID VS Generic Get John Scott
- Re: Get by CORRELID VS Generic Get MQ-SERIES
