Spring Integration Java DSL using JMS retry/redlivery
问题 How can I effectively support JMS redelivery when msg handling throws an exception? I have a flow using JMS (ActiveMQ) with a connectionFactory that is configured to allow n redelivery attempts. I would like to have any error that occurs while handling the msg cause the msg to get put back for redelivery as many times as the connectionFactory config allows and then when max redelivery attempts are exhausted, deliver to DLQ. per usual with AMQ. An answer to a related SO question implies that I