Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : cancelDurableSubscription procedure
 

cancelDurableSubscription procedure

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 (sends a message to the OpenEdge Adapter for SonicMQ).

See also

cancelDurableSubscription procedure , publishprocedure, subscribeprocedure
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.