Interface RequestReplyExchanger

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 RequestReplyExchanger
Interface for a request/reply Message exchange. This will be used as a default by GatewayProxyFactoryBean if no 'service-interface' property has been provided.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.messaging.Message<?>
    exchange(org.springframework.messaging.Message<?> request)
     
  • Method Details

    • exchange

      org.springframework.messaging.Message<?> exchange(org.springframework.messaging.Message<?> request) throws org.springframework.messaging.MessagingException
      Throws:
      org.springframework.messaging.MessagingException