Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Return empty messageAttributes map for SQSEvent#514

Open
scaredcat wants to merge 1 commit intoaws:mainaws/aws-lambda-java-libs:mainfrom
scaredcat:patch-1scaredcat/aws-lambda-java-libs:patch-1Copy head branch name to clipboard
Open

Return empty messageAttributes map for SQSEvent#514
scaredcat wants to merge 1 commit intoaws:mainaws/aws-lambda-java-libs:mainfrom
scaredcat:patch-1scaredcat/aws-lambda-java-libs:patch-1Copy head branch name to clipboard

Conversation

@scaredcat
Copy link

Issue #, if available: n/a

Description of changes:

This change copies across the getMessageAttributes implementation from the SQS sdk. Return an empty list instead of null if no message attributes are available.

https://github.com/aws/aws-sdk-java/blob/3c367441d1c5d2f21e10d54cb4f2b308a8b00c59/aws-java-sdk-sqs/src/main/java/com/amazonaws/services/sqs/model/Message.java#L684-L686

Target (OCI, Managed Runtime, both):

both?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.