Skip to content

Commit

Permalink
Minor modification in docs. Fix spring-atticgh-410.
Browse files Browse the repository at this point in the history
  • Loading branch information
voytech committed Jul 28, 2020
1 parent d4ba281 commit 38eafa3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/src/main/asciidoc/spring-cloud-aws.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1130,10 +1130,9 @@ annotations. `@Header` is used to inject a specific header value while `@Headers
containing all headers.

Only the link:https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_Message.html[standard
message attributes] sent with an SQS message are fully supported. Custom attributes are handled only partially.
Custom message attribute value is resolved only by using mandatory type part without custom label (type name without label after '.')
Custom type label is skipped during conversion to header value.
(You can still access original message and custom labels using `sourceData` message header)
message attributes] sent with an SQS message are fully supported.
Custom message attribute are handled as if custom type label (everything after '.' in type name) wasn't present in attribute key.
It is silently omitted during conversion, but still can be accessed as long as original message is present in 'sourceData' header.

In addition to the provided argument resolvers, custom ones can be registered on the
`aws-messaging:annotation-driven-queue-listener` element using the `aws-messaging:argument-resolvers` attribute (see example below).
Expand Down

0 comments on commit 38eafa3

Please sign in to comment.