RP/MSQ 5.0 (VMS)/MSQ 5.01 (VMS) - Pbm with [UN]AVAIL messages under specific conditions (Doc ID 778110.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle MessageQ / MessageQ / 5.0,5.1
Information in this document applies to any platform

Goal

DESCRIPTION:
This is a MessageQ OpenVMS v.5 problem on message-based services, demonstrated by a testcase for reproduction.

In the Programmer's Guide (url= http://edocs.bea.com/tuxedo/msgq/prog/ch5.htm#1022893), it says:
An application program registers to receive availability messages by sending a message of type AVAIL_REG to the local
Avail Server process. The Avail Server responds with a message of type AVAIL_REG_REPLY, acknowledging the notification
request.
After registration, the requestor immediately receives an AVAIL or UNAVAIL message indicating the current availability
of the target queue. Queue availability messages provide ongoing notification when a specific queue becomes attached
or detached and
***when a link is connected or lost.***
This happens under 'normal' conditions, but this escalation is focused on specific conditions where it does not happen
and would probably require a New Patch.

Specific conditions:
 - The first application (using reprod.program) attaches to a permanent queue on a group (# 2) : 2.194 (EXAMPLE_Q_2)
 - The second application (using reprod.program) attaches to a temporary queue on another group (# 201) : 201.202
 - The 2 groups may be on the same machine, are running and connected through cross-group link
 - But group 201 defines (in config file) link to group 2, and group 2 does not define link to group 201
 - The first application has registered (AVAIL_REG request) to local SBS in order to monitor 201.202
Then disconnecting cross-group link (MGR_UTILITY>Link Management>DC) from any of the 2 groups, prevents 2.194 to
receive MSG_TYPE_UNAVAIL message.

CONFIGURATION:
MessageQ 5.0
MessageQ 5.1

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms