Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awCancel | awCancelTxSubscriptionFromStruct
 
awCancelTxSubscriptionFromStruct
BrokerError awCancelTxSubscriptionFromStruct(
BrokerTxClient txclient,
BrokerSubscription *sub);
txclient
The Broker client whose event subscription is to be cancelled.
sub
The structure representing the subscription the Broker client wishes to cancel. See BrokerSubscription Objects for more information.
The transactional client cancels a subscription, specified by the subscription structure, for the specified Broker client. Only the event_type_name and filter fields of the subscription structure are used to find a matching subscription to cancel; the subId field is ignored.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The txclient has been destroyed or disconnected.
AW_ERROR_INVALID_SUBSCRIPTION
No matching subscription was found.
AW_ERROR_NULL_PARAM
The sub parameter is NULL or the event_type_name it contains is NULL.
See also: