public static interface RequestReplyMessageReceiver.Replier
| Modifier and Type | Method and Description |
|---|---|
void |
reply(OutboundMessage responseMessage)
Publish a reply or response message.
|
void |
reply(OutboundMessage responseMessage,
Properties additionalMessageProperties)
Publish a reply or response message.
|
void reply(OutboundMessage responseMessage) throws PubSubPlusClientException.PublisherOverflowException, PubSubPlusClientException, IllegalStateException
Default behaviour for the case when the publishing capabilities of the API are exceeded
is to reject reply attempt with PubSubPlusClientException.PublisherOverflowException
responseMessage - the message to reply or respond withPubSubPlusClientException - if the message can't be sentPubSubPlusClientException.PublisherOverflowException - if the publisher sends a message faster than the I/O
capabilities allow to send or the internal message
buffering capabilities are exceededIllegalStateException - if the replier is not started or has been terminatedvoid reply(OutboundMessage responseMessage, Properties additionalMessageProperties) throws PubSubPlusClientException.PublisherOverflowException, PubSubPlusClientException, IllegalStateException
Default behaviour for the case when the publishing capabilities of the API are exceeded
is to reject reply attempt with PubSubPlusClientException.PublisherOverflowException
responseMessage - the message to reply or respond withadditionalMessageProperties - the additional properties (Key of type String and
Value of type String) to customize a particular
message where each key can be customer-provided, or it can
be a key from a SolaceProperties.MessageProperties
instancePubSubPlusClientException - if the message can't be sentPubSubPlusClientException.PublisherOverflowException - if the publisher sends a message faster than the I/O
capabilities allow to send or the internal message
buffering capabilities are exceededIllegalStateException - if the replier is not started or has been terminatedCopyright 2019-2025 Solace Corporation. All rights reserved.