+

Search Tips   |   Advanced Search

The consequences of changing durable subscriptions

When an application connects to an existing durable subscription, but specifies parameters that differ from those that were used to create the existing subscription, the subscription is deleted then recreated with the new parameters. A durable subscription can be changed in this way only when it has no active consumers.

In the basic case, there is only one active consumer at any time, so the application can change the durable subscription without affecting other subscribers. However, the situation is more complicated for cloned subscriptions.

A cloned durable subscription has multiple active subscribers, which are usually clones of a particular application.

The server_name-durableSubscriptions.ser file in the WAS_HOME/temp directory is used by the messaging service to keep track of durable subscriptions for message-driven beans. If we uninstall an application containing a message-driven bean, this file is used to unsubscribe the durable subscription. If we have to delete the WAS_HOME/temp directory or other files in it, ensure that you preserve this file.


Related tasks

  • Administer durable subscriptions
  • Listing subscriptions
  • Stopping active subscribers for durable subscriptions
  • Delete durable subscriptions