Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awDeliver | awDeliverAckReplyEvent
BrokerError awDeliverAckReplyEvent(
BrokerClient client,
BrokerEvent request_event,
BrokerLong publish_seqn);
The Broker client that is delivering the event.
The original request event. Used to determine the client ID of the sender of the original request.
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_event will 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.
An error will not be returned if the recipient, represented by the pubId field in request_event, no longer exists.
Possible BrokerError major codes
The Broker client, represented by the client parameter, has been destroyed or disconnected.
The request_event is invalid.
The client does not have permission to publish Adapter::ack.
See also: