public class RabbitExpressionEvaluatingInterceptor extends Object implements org.springframework.messaging.support.ChannelInterceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
DELAY_HEADER
Default name for delay header.
|
static org.springframework.expression.ExpressionParser |
PARSER
Instance of ExpressionParser.
|
static String |
ROUTING_KEY_HEADER
Default name for routing key header.
|
| Constructor and Description |
|---|
RabbitExpressionEvaluatingInterceptor(org.springframework.expression.Expression routingKeyExpression,
org.springframework.expression.Expression delayExpression,
org.springframework.expression.EvaluationContext evaluationContext)
Construct an instance with the provided expressions and evaluation context.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.messaging.Message<?> |
preSend(org.springframework.messaging.Message<?> message,
org.springframework.messaging.MessageChannel channel) |
public static final org.springframework.expression.ExpressionParser PARSER
public static final String ROUTING_KEY_HEADER
public static final String DELAY_HEADER
public RabbitExpressionEvaluatingInterceptor(org.springframework.expression.Expression routingKeyExpression,
org.springframework.expression.Expression delayExpression,
org.springframework.expression.EvaluationContext evaluationContext)
routingKeyExpression - the routing key expresssion.delayExpression - the delay expression.evaluationContext - the evaluation context.Copyright © 2023 Pivotal Software, Inc.. All rights reserved.