[ https://issues.apache.org/jira/browse/PROTON-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Ross resolved PROTON-308. ----------------------------- Resolution: Won't Fix This is at most a documentation issue as it is related to the way Python handles strings. > Python Messenger: Strings encoded in map bodies are encoded as binary, not > string > --------------------------------------------------------------------------------- > > Key: PROTON-308 > URL: https://issues.apache.org/jira/browse/PROTON-308 > Project: Qpid Proton > Issue Type: Bug > Components: proton-c > Affects Versions: 0.4 > Reporter: Ted Ross > Fix For: 0.5 > > > I'm using the following code to create a message in Python Messenger: > from proton import Messenger, Message > mng = Messenger() > msg = Message() > mng.start() > msg.address = "amqp://0.0.0.0/_local/agent" > msg.body = {'opcode':'test'} > mng.put(msg) > mng.send() > mng.stop() > The message body is encoded as an AMQP Value and the value is a map32. The > key value in the map is encoded as a vbin8. It should be a str8_utf8. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira