Class InvocationResult

java.lang.Object
org.springframework.amqp.rabbit.listener.adapter.InvocationResult

public final class InvocationResult extends Object
The result of a listener method invocation.
Since:
2.1
  • Constructor Details

    • InvocationResult

      public InvocationResult(Object result, @Nullable org.springframework.expression.Expression sendTo, @Nullable Type returnType, @Nullable Object bean, @Nullable Method method)
      Construct an instance with the provided properties.
      Parameters:
      result - the result.
      sendTo - the sendTo expression.
      returnType - the return type.
      bean - the bean.
      method - the method.
  • Method Details

    • getReturnValue

      public Object getReturnValue()
    • getSendTo

      public org.springframework.expression.Expression getSendTo()
    • getReturnType

      @Nullable public Type getReturnType()
    • getBean

      @Nullable public Object getBean()
    • getMethod

      @Nullable public Method getMethod()
    • toString

      public String toString()
      Overrides:
      toString in class Object