- Newest
- Most votes
- Most comments
Hi,
Thanks for reaching out. I hope that you are doing well. We have documentation on Working with JMS and Amazon SQS
. I am adding it here for reference but I assume that you have seen this already.
We can see the headers that SQS sets here in this page of that documentation
From the above documentation, SQS does not provide a header for some of the attributes you are looking for such as expiration
or timestamp
.
If there are any attributes that need to be sent apart from this then they would indeed need to be added as a message attribute
Message attributes are custom and optional. It will be up to the sender of the message to add the required attribute when sending a message. However, SQS does not have visibility on how a library may read these message attributes. You would need to reach out to the developer of the JMS Libraries to determine what the attribute name needs to be in order for this library to be able to automatically map this attribute such as 'JMS_SQSCorrelationID'.
Kindly note I am not familiar with the JMS library itself but I would recommend checking how to parse the SQS message attributes in order to look for your required values.
Relevant content
- asked a year ago
- asked 3 months ago
- asked 6 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 years ago