Example usage for Java org.springframework.integration.handler.advice ExpressionEvaluatingRequestHandlerAdvice fields, constructors, methods, implement or subclass
The text is from its open source code.
void | setBeanFactory(BeanFactory beanFactory) |
void | setFailureChannel(MessageChannel failureChannel) Set the channel to which to send the ErrorMessage after evaluating the failure expression. |
void | setOnFailureExpression(@Nullable Expression onFailureExpression) Set the expression to evaluate against the root message after a failed handler invocation. |
void | setOnSuccessExpression(@Nullable Expression onSuccessExpression) Set the expression to evaluate against the message after a successful handler invocation. |
void | setPropagateEvaluationFailures(boolean propagateOnSuccessEvaluationFailures) If true and an onSuccess expression evaluation fails with an exception, the exception will be thrown to the caller. |
void | setReturnFailureExpressionResult(boolean returnFailureExpressionResult) If true, the result of evaluating the onFailureExpression will be returned as the result of AbstractReplyProducingMessageHandler.handleRequestMessage(Message). |
void | setSuccessChannel(MessageChannel successChannel) Set the channel to which to send the AdviceMessage after evaluating the success expression. |
void | setTrapException(boolean trapException) If true, any exception will be caught and null returned. |