My Oracle Support Banner

Durable Subscriber is Deleted From the Topic if MDB is Stopped and Has Durable-Subscription-Deletion Set to True (Doc ID 841437.1)

Last updated on APRIL 14, 2021

Applies to:

Oracle Service Bus - Version 2.6 to 3.0 [Release Aqualogic Service Bus]
Information in this document applies to any platform.
***Checked for relevance on 25-Feb-2013***

Symptoms

When an MDB is stopped in WLS console and state changes to PREPARED state, the corresponding durable subscriber is deleted from the topic. The MDB has durable-subscription-deletion set to true. If this is set to false, the subscriber state only changes to deactivated, and is reactivated when the MDB is started again. The e-docs for durable-subscription-deletion only mentions that the subscriber is deleted when the MDB is undeployed.


Issue can be replicated in Service bus by
1. Disabling JMS based proxy service (polling on a durable topic) from operational settings.
2. Disabling a proxy service changes the MDB EAR associated with it to change to prepared state.

Now, go to WLS console and will find that see the subscriber gets deleted. Message send to topic while
proxy service is in disabled mode are lost.

EXPECTED BEHAVIOR
Proxy service should be able to consume all the pending messages after it is enabled

STEPS
The issue can be reproduced at will with the following steps:
1. Create a JMS proxy in ALSB that listens to a topic with durable subscription enabled.
2. Then either enable/disable the proxy in ALSB or stop/start the MDB in WLS console to see the subscriber get deleted.

The subscription should only be deactivated, not deleted.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.