public interface MessageRoutingCallback
RoutingFunction.
While RoutingFunction provides several mechanisms to determine the route-to function definition
this callback takes precedence over all of them.| Modifier and Type | Interface and Description |
|---|---|
static class |
MessageRoutingCallback.FunctionRoutingResult
Domain object that represents the result of the
routingResult(Message)
computation. |
| Modifier and Type | Method and Description |
|---|---|
default String |
functionDefinition(org.springframework.messaging.Message<?> message)
Deprecated.
in 3.1 in favor of
routingResult(Message) |
default MessageRoutingCallback.FunctionRoutingResult |
routingResult(org.springframework.messaging.Message<?> message)
Computes and returns the instance of
MessageRoutingCallback.FunctionRoutingResult which encapsulates,
at the very minimum, function definition and optionally Message to be used downstream. |
@Deprecated default String functionDefinition(org.springframework.messaging.Message<?> message)
routingResult(Message)default MessageRoutingCallback.FunctionRoutingResult routingResult(org.springframework.messaging.Message<?> message)
MessageRoutingCallback.FunctionRoutingResult which encapsulates,
at the very minimum, function definition and optionally Message to be used downstream.
message - input messageMessageRoutingCallback.FunctionRoutingResult containing the result of the routing computationCopyright © 2022 Pivotal Software, Inc.. All rights reserved.