@FunctionalInterface public static interface RequestReplyMessagePublisher.ReplyMessageHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(InboundMessage message,
Object userContext,
PubSubPlusClientException exception)
The callback to handle a reply message.
|
void onMessage(InboundMessage message, Object userContext, PubSubPlusClientException exception)
message - the response message or nulluserContext - the user-context if any was set during publishing of request message or
nullexception - the exception to throw as follows:
MessageDestinationDoesNotExistException can be thrown when a message
destination topic does not existsMissingReplierException can be thrown
when replier did not subscribe to a topic to which a corresponding request
message was publishedTimeoutException can be thrown when a response from a
replier does not come on timePublisherOverflowException can be thrown
when internal publishing capacities are exceeded
Copyright 2019-2025 Solace Corporation. All rights reserved.