Interface RoutingSlipRouteStrategy
- All Known Implementing Classes:
ExpressionEvaluatingRoutingSlipRouteStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface RoutingSlipRouteStrategy
The
RoutingSlip
strategy to determine the next replyChannel
.
This strategy is called repeatedly until null or an empty String is returned.
- Since:
- 4.1
- Author:
- Artem Bilan
- See Also:
AbstractMessageProducingHandler
-
Method Summary
Modifier and Type Method Description Object
getNextPath(Message<?> requestMessage, Object reply)
Get the next path for this routing slip.
-
Method Details
-
getNextPath
Get the next path for this routing slip.- Parameters:
requestMessage
- the request message.reply
- the reply - depending on context, this may be a user-level domain object, aMessage
or aAbstractIntegrationMessageBuilder
.- Returns:
- a channel name or another
RoutingSlipRouteStrategy
.
-