Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awTx | awTxDeliverAckReplyEvent
 
awTxDeliverAckReplyEvent
BrokerError awTxDeliverAckReplyEvent(
BrokerTxClient txclient,
BrokerEvent request_event,
BrokerLong publish_seqn);
txclient
The Broker client that is transactionally delivering the event.
request_event
The original request event. Used to determine the client ID of the sender of the original request.
publish_seqn
The publish sequence number to use on the reply event. Should be set to zero if you are not using publish sequence numbers.
Delivers an Adapter::ack event to the originator of the specified request_event. This function properly sets the tag envelope field to match that of the request.
If the trackId envelope field was set on request_event, that value is copied to the Adapter::ack event. If the request_event trackId envelope field was not set, the pubId envelope field from the request_eventwill be used instead.
The Broker client that is to receive the delivered event is not required to have registered a subscription for the event type, but its client group must allow the Broker client to receive the event type.
Note:
An error will not be returned if the recipient, represented by the pubId field in request_event, no longer exists.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The Broker client, represented by the client parameter, has been destroyed or disconnected.
AW_ERROR_INVALID_EVENT
The request_event is invalid.
AW_ERROR_NO_PERMISSION
The client does not have permission to publish Adapter::ack.
See also: