public class MissingMessageIdAdvice
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor
AmqpRejectAndDontRequeueException
which signals the container to NOT requeue the message (otherwise we'd have infinite
immediate retries).
If so configured, the broker can send the message to a DLE/DLQ.
Must be placed before the retry interceptor in the advice chain.Constructor and Description |
---|
MissingMessageIdAdvice(org.springframework.retry.policy.RetryContextCache retryContextCache) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |