|
I have the following code snippet.
Using this, I have successfully written the attributes I wanted with the message. Now, I wanted to retrieve it. I have tried
But I have got an empty dictionary only. Is this the way to retrieve it? Or am I wrong somewhere? |
I have got the answer to my question. For this you must have retrieved the message like this
Will get msgs as a list. And let msg be msgs[0] Then the message attribute can be retrieved by the following code.
|