Java org.springframework.integration.handler.advice ExpressionEvaluatingRequestHandlerAdvice fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.integration.handler.advice ExpressionEvaluatingRequestHandlerAdvice fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.integration.handler.advice ExpressionEvaluatingRequestHandlerAdvice.

The text is from its open source code.

Constructor

Method

voidsetBeanFactory(BeanFactory beanFactory)
voidsetFailureChannel(MessageChannel failureChannel)
Set the channel to which to send the ErrorMessage after evaluating the failure expression.
voidsetOnFailureExpression(@Nullable Expression onFailureExpression)
Set the expression to evaluate against the root message after a failed handler invocation.
voidsetOnSuccessExpression(@Nullable Expression onSuccessExpression)
Set the expression to evaluate against the message after a successful handler invocation.
voidsetPropagateEvaluationFailures(boolean propagateOnSuccessEvaluationFailures)
If true and an onSuccess expression evaluation fails with an exception, the exception will be thrown to the caller.
voidsetReturnFailureExpressionResult(boolean returnFailureExpressionResult)
If true, the result of evaluating the onFailureExpression will be returned as the result of AbstractReplyProducingMessageHandler.handleRequestMessage(Message).
voidsetSuccessChannel(MessageChannel successChannel)
Set the channel to which to send the AdviceMessage after evaluating the success expression.
voidsetTrapException(boolean trapException)
If true, any exception will be caught and null returned.