Don't ack RabbitMQ messages until IntegrationFlow service activator method returns succesfully?
问题 I have an integration flow defined like this: IntegrationFlows.from(Amqp.inboundAdapter(connectionFactory, "queueName") .id("id") .autoStartup(autoStartup) .concurrentConsumers(2) .maxConcurrentConsumers(3) .messageConverter(messageConverter())) .aggregate(a -> ...) .handle(serviceActivatorBean, "myMethod", e -> e.advice(requestHandlerRetryAdviceForIntegrationFlow())) .get(); Where the serviceActivatorBean is defined like this: @Component @Transactional public class ServiceActivator {