[
https://issues.apache.org/jira/browse/PROTON-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988713#comment-16988713
]
Robbie Gemmell commented on PROTON-2129:
----------------------------------------
Although I dont do much in terms of Python, I dont believe there is any
requirement on JSON for message content. Id expect it will consider the
delivery contents to be in the AMQP message format, which can then contain a
variety of content encoded using the AMQP type system.
Perhaps if you could demonstrate what it is you are seeing and how you are
doing it, someone more familiar with the python bits can advise.
> Allow message content other than JSON
> -------------------------------------
>
> Key: PROTON-2129
> URL: https://issues.apache.org/jira/browse/PROTON-2129
> Project: Qpid Proton
> Issue Type: Improvement
> Components: python-binding
> Affects Versions: proton-c-0.29.0
> Reporter: Guionardo Furlan
> Priority: Critical
>
> When a message is sent to a queue or topic,
> *IncomingMessageHandler*._on_delivery_ decodes the message content
> considering its format is JSON.
> But in situations where the message is not JSON, the *Message*._decode_
> method raises an exception.
> My suggestion is to be able, by parameter, to allow a message not to be
> decoded so that its raw content is returned.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]