Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awCancel | awCancelTxSubscription
 
awCancelTxSubscription
BrokerError awCancelTxSubscription(
BrokerTxClient txclient,
char *event_type_name,
char *filter);
txclient
The Broker client whose event subscription is to be cancelled.
event_type_name
The event type name of the subscription the Broker client wishes to cancel.
filter
The filter string that was used in the subscription. Set this to NULL if no filter was specified in the original subscription.
The txclient cancels an event subscription with the specified event type and matching filter string for the specified Broker client.
You may add a wildcard character "*" to the end of the event_type_name to cancel multiple subscriptions within a particular event type scope. See Using Wildcards for more information.
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 event_type_name is NULL.
See also: