- Más nuevo
- Más votos
- Más comentarios
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.
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace un año