WebLogic Server: Sample Code to Delete Stale Durable Subscription using WLST
(Doc ID 2238625.1)
Last updated on JUNE 09, 2023
Applies to:
Oracle WebLogic Server - Version 10.3 and laterInformation in this document applies to any platform.
Goal
Periodically customer may find some stale Topic Durable Subscription needs be cleaned up. Since they are durable clients, JMS server will keep messages (unless expiration is specified explicitly) for inactive clients. Those messages will be accumulated day after day, even worse is some clients will never be used at all. For current WebLogic JMS design all those kind of messages will take some memory, especially for this Message and Durable Subscription mapping, a Java object: weblogic.messaging.kernel.internal.MultiMessageReference is kept in heap to present this mapping, which eventually will lead system to OutOfMemory.
Solution
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
Goal |
Solution |
References |