Skip to content

RangedAcknowledger logs "SQSMessageID: xxx with SQSMessageReceiptHandle: xxx does not exist." when acknowledge SQSTextMessage #176

Open
@IneverStop

Description

@IneverStop

Hi Amazon!
I am using 1.0.0 version and JMS to receive SQSMessage:

    @JmsListener(destination = "xxx", containerFactory = "sqsContainerFactory")
    public void consumer(SQSTextMessage sqsTestMessage)
        throws JMSException {
        try {

        } catch (Exception var) {
        } finally {
            sqsTestMessage.acknowledge();
        }
    }

I have set sqsContainerFactory.sessionAcknowledgeMode to Session.CLIENT_ACKNOWLEDGE,
But always got warning like

2023-01-18 14:06:59.057  WARN 55524 --- [enerContainer-7] c.a.s.j.acknowledge.RangedAcknowledger   : SQSMessageID: 37b9d428-a5e2-4a39-af5e-40ebd4e4cb7b with SQSMessageReceiptHandle: AQEBFJ+bCDXdYlmz1jzmeRFjkI5CYL9wzEoUT3fcx/ECrujyaFHAIka/piHG6FlIFLxsUNoj8ZDpvw/WgQ6rOgZNbO2OP/Q8YxOgIrlleGzkjlWhfhevrCA3BPY0uhlRFvo05V35RHPKAntQ0SVPRnEPb9O+BaOcPlQvHSxr/0OkMQOO4VNh92FOnuIp8dueLKl+NmAdLyH2tRhB7o7Z9JKLQzZ1DgFbnJddseaajiWP+MYGt8Ma9PFA08rpdDNYluYAzRYJAWDq5QG2tzVEyEWcefIDs8Ru+9saQatiEOH6G23yvaM9Lw+HOhnza5y4+Od8XjRsUYcpGGq1cTtYePlHtUrBWQCthfpuBg36ewRB2beHVNa4eZEUSk8z8Z06on4dfZBBsqMunDNw5fblQ/5mijIqMmA7Q/GGE7a219n+dnbgwnF20Fz+1a/JRCe1/8eV does not exist.

I am not sure is this a problem or should i upgrade the sdk version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions