Modify payload of message publish in case callback failure #258
Answered
by
jmklix
ssachdeva45
asked this question in
Q&A
-
Is it possible in aws-iot-device-sdk-java-v2 to modify the payload in case the message was not successfully published? In case of onConnectionInterrupred would like to add details to the payload stating connection was interrupted. |
Beta Was this translation helpful? Give feedback.
Answered by
jmklix
Apr 12, 2022
Replies: 2 comments
-
No, you can't edit a message payload after it is published. If you want that information sent you will have to send another message. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ssachdeva45
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, you can't edit a message payload after it is published. If you want that information sent you will have to send another message.