[
https://issues.apache.org/jira/browse/QPID-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805579#action_12805579
]
Rafael H. Schloming commented on QPID-2226:
-------------------------------------------
What we're using for map messages in the API is right now just an 0-10 map,
however semantically I think of it as a qpid map message that happens to
incidentally use an 0-10 map encoding, however we may change the encoding in
the future. So I think the mime type should primarily indicate that it is a
qpid map message, but somehow also indicate the specific encoding. I'm not a
mime type expert, so I'm not sure of the correct way to do this. I know some
mime types have parameters that indicate encoding, e.g.:
text/plain; charset=utf8
So that might suggest something like:
qpid/map; encoding=blah
> content types should be handled consistently across all clients
> ---------------------------------------------------------------
>
> Key: QPID-2226
> URL: https://issues.apache.org/jira/browse/QPID-2226
> Project: Qpid
> Issue Type: Improvement
> Components: Interop Testing
> Reporter: Rajith Attapattu
>
> Content types specified in messages should be handled in a consistent way
> across all clients.
> At the minimum I believe all Qpid clients should support
> 1. text/plain , text/xml (how is encoding handled? )
> 2. application/octet-stream
> 3. Map messages. Currently JMS specifies it as jms/map-message.
> Maybe we could name it as "qpid/map-message"
> Obviously item 3 will be Qpid specific.
> Python and C++ already have work in progress to support Map messages and
> eventually Ruby.
> However what is important is that all clients in Qpid handled these content
> types in a consistent manner.
> This will ensure we interoperate well between different language clients.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]