Cancels a durable subscription.

Syntax

PROCEDURE cancelDurableSubscription.
DEFINE INPUT PARAMETER subscriptionName AS CHARACTER.

Parameter

subscriptionName
Name of durable subscription.

Applies to

Session objects

Notes

  • It is an error to call this procedure if there is an active Message Consumer for the subscription. Call deleteConsumer procedure first to delete the Message Consumer.
  • This procedure executes remotely on the Progress OpenEdge JMS Adapter.

See also

cancelDurableSubscription procedure , publish procedure, subscribe procedure

For more information, see the Publishing messages to a topic, the Subscribing to a topic, the Durable subscriptions, and the Methods unique to Pub/Sub messaging.

For an example, see the Pub/Sub messaging example.