Programming Guide



unsubscribe

Unsubscribes to an event managed by the Oracle Tuxedo event broker

Synopsis

unsubscribe {ALL | SID subscriptionId} [NOTIMEOUT]

Arguments

ALL
Removes all event subscriptions, except persistent subscriptions—that is, those whose subscribe command used the PERSIST option.

SID subscriptionId
Unsubscribe from the event specified by subscriptionId, even if the subscription is persistent. You obtain subscriptionId at the time the event is subscribed to.

NOTIMEOUT
Execution of the command disregards the blocking timeout; however, transaction timeouts remain in effect.

Environment

Oracle Tuxedo

Scope

Client, Server

Description

The unsubscribe command removes event subscriptions from Oracle Tuxedo's event broker. The command lets you unsubscribe all events, or specific or persistent events.

The tp_return property is set to number of subscriptions canceled after successful execution of the command.

See Also

post, subscribe