Potkay, Peter M (CTO Architecture + Engineering)
2013-11-13 22:37:26 UTC
Is there such a thing as an unmanaged, non durable subscriber? If I predefine a queue for the consumer (note I didn't use the word 'subscriber'), and make an administrative subscription to that queue, this would be considered an unmanaged subscription - the QM is not creating a dynamic queue for me.
So is the whole durable versus non durable conversation moot for an unmanaged subscription?
Non durable means if the QM notices the subscriber go away it stops sending messages to it. But if it's a predefined queue for an administratively created subscription, there is no subscriber to watch over, so it has to act like a durable subscription and can only act like a durable. Even if the queue is not open by anything, will new topics continue to arrive, which means its "durable"?
I looked in the InfoCenter and all I could find was:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqnar.doc/ps10432_.htm
"The unmanaged pattern is more commonly associated with durable subscriptions than non-durable. Typically the lifecycle of a subscription created by an unmanaged subscriber is independent of the lifecycle of the subscribing application itself. By making the subscription durable the subscription receives publications even when no subscribing application is active."
But it never talks about making it non durable in this scenario. It would be nice to see it say that makes no sense you dummy. Or, if you make an administrative subscription non durable to a pre defined queue, here's what happens if the queue has an IRPOCS of zero.
Yeah, I could play around with it, but if its not documented I can't bank on the behavior not changing.
Peter Potkay
************************************************************
This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies.
************************************************************
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
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
So is the whole durable versus non durable conversation moot for an unmanaged subscription?
Non durable means if the QM notices the subscriber go away it stops sending messages to it. But if it's a predefined queue for an administratively created subscription, there is no subscriber to watch over, so it has to act like a durable subscription and can only act like a durable. Even if the queue is not open by anything, will new topics continue to arrive, which means its "durable"?
I looked in the InfoCenter and all I could find was:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.amqnar.doc/ps10432_.htm
"The unmanaged pattern is more commonly associated with durable subscriptions than non-durable. Typically the lifecycle of a subscription created by an unmanaged subscriber is independent of the lifecycle of the subscribing application itself. By making the subscription durable the subscription receives publications even when no subscribing application is active."
But it never talks about making it non durable in this scenario. It would be nice to see it say that makes no sense you dummy. Or, if you make an administrative subscription non durable to a pre defined queue, here's what happens if the queue has an IRPOCS of zero.
Yeah, I could play around with it, but if its not documented I can't bank on the behavior not changing.
Peter Potkay
************************************************************
This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies.
************************************************************
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
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