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
- Author:
- Gary Russell
-
-
Constructor Summary
Constructors Constructor Description InvocationResult(Object result, Expression sendTo, Type returnType, Object bean, Method method)
Construct an instance with the provided properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getBean()
Method
getMethod()
Type
getReturnType()
Object
getReturnValue()
Expression
getSendTo()
String
toString()
-
-
-
Constructor Detail
-
InvocationResult
public InvocationResult(Object result, @Nullable 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 Detail
-
getReturnValue
public Object getReturnValue()
-
getSendTo
public Expression getSendTo()
-
-