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.
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:
-
Method Summary
Modifier and TypeMethodDescriptiongetNextPath(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, aMessageor aAbstractIntegrationMessageBuilder.- Returns:
- a channel name or another
RoutingSlipRouteStrategy.
-