@FunctionalInterface public interface RoutingSlipRouteStrategy
RoutingSlip
strategy to determine the next replyChannel
.
This strategy is called repeatedly until null or an empty String is returned.
AbstractMessageProducingHandler
Modifier and Type | Method and Description |
---|---|
Object |
getNextPath(Message<?> requestMessage,
Object reply)
Get the next path for this routing slip.
|
Object getNextPath(Message<?> requestMessage, Object reply)
requestMessage
- the request message.reply
- the reply - depending on context, this may be a user-level domain
object, a Message
or a AbstractIntegrationMessageBuilder
.RoutingSlipRouteStrategy
.