amazon-sqs-java-messaging-lib
amazon-sqs-java-messaging-lib copied to clipboard
SQSMessage: do not parse ReceiveCount attribute if it is not set
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.