Description
The spring.jms.listener.acknowledge-mode
configuration property currently supports only (a subset of) standard acknowledge modes.
However, it's quite common to use a non-standard acknowledge modes, such as SQS's UNORDERED_ACKNOWLEDGE
which is described as:
Non standard acknowledge mode. This is a variation of CLIENT_ACKNOWLEDGE where Clients need to remember to call acknowledge on message. Difference is that calling acknowledge on a message only acknowledge the message being called.
Instead of having to provide a DefaultJmsListenerContainerFactory
bean in every project to overcome the limitation, it would be nice if there would be a way to configure the desired acknowledge mode using configuration properties. This is especially the case now that Spring Framework has made it a bit easier to work with non-standard acknowledge modes after spring-projects/spring-framework#30619.