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:
  • Method Summary

    Modifier and Type
    Method
    Description
    getNextPath(Message<?> requestMessage, Object reply)
    Get the next path for this routing slip.
  • Method Details

    • getNextPath

      Object getNextPath(Message<?> requestMessage, Object reply)
      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, a Message or a AbstractIntegrationMessageBuilder.
      Returns:
      a channel name or another RoutingSlipRouteStrategy.