By default, messages should be deleted if the reading and processing was successful (Listener method didn't throw error). However, if the queue doesn't have RemovePermission on AWS, no warn or error is thrown, making it look like everything happened ok.
@SpringBootApplication
public class DemoApplication {
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
@SqsListener(value = "test-queue")
public void queueListener(String message) {
System.out.println(message);
}
}

Indeed the result of the delete message is ignored. We should at least log an error when it happens.
hi @maciejwalkowiak, can I take this one?
@karmanov go for it 馃憤
@karmanov do you think you will be able to implement it in foreseeable future?
hi @maciejwalkowiak yes, I will implement it this week.