amazon-sqs-java-messaging-lib icon indicating copy to clipboard operation
amazon-sqs-java-messaging-lib copied to clipboard

SQSMessage: do not parse ReceiveCount attribute if it is not set

Open jarst opened this issue 8 years ago • 0 comments

Currently SQSMessage constructor will try to Integer.parse said attribute even if it is not present in source message.

Since you're able to construct model messages without setting that APPROXIMATE_RECEIVE_COUNT attribute, constructor of SQSMessage should handle such objects.

jarst avatar Apr 23 '17 21:04 jarst