Rabbitmq : Failed message being reprocessed in an infinite loop
问题 This is the rabbitmq configuration that I have : <rabbit:admin connection-factory="rmqConnectionFactory"/> <bean id="**retryAdvice**" class="org.springframework.amqp.rabbit.config.StatefulRetryOperationsInterceptorFactoryBean"> <property name="retryOperations" ref="retryTemplate"/> </bean> <bean id="**retryTemplate**" class="org.springframework.retry.support.RetryTemplate"> <property name="retryPolicy" ref="simpleRetryPolicy"/> <property name="backOffPolicy"> <bean class="org.springframework