Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awDeliver | awDeliverReplyEvent
BrokerError awDeliverReplyEvent(
BrokerClient client,
BrokerEvent request_event,
BrokerEvent event);
The Broker client that is sending the event.
The original request event for which this reply is to be delivered.
The reply event to be delivered.
Transfers the event to the Broker to be delivered to the Broker client who sent the original request_event. No error is returned if the Broker client with the destination identifier specified in request_event no longer exists. This function properly sets the tag, appSeqn, and appLastSeqn envelope fields on event.
If the trackId envelope field was set on request_event, that value is copied to the reply event. If the request_event trackId envelope field was not set, the pubId envelope field from the request_event will be used instead.
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 or the reply event is invalid, request_event was not received from the Broker, or the reply event does not match its type definition.
The client does not have permission to publish the reply_event type.
The event type for event does not exist on the Broker.
See also: