You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Yufei Cai (Jira)" <ji...@apache.org> on 2019/11/06 12:51:00 UTC

[jira] [Comment Edited] (QPIDJMS-295) AMQP property content-encoding cannot be retrieved via JMS_AMQP_ContentEncoding

    [ https://issues.apache.org/jira/browse/QPIDJMS-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16968337#comment-16968337 ] 

Yufei Cai edited comment on QPIDJMS-295 at 11/6/19 12:50 PM:
-------------------------------------------------------------

Content-Encoding is now a formalized AMQP 1.0 property. As such it should be supported for spec-conformity.

 

Note that as of version 0.46, the Qpid proton Properties class is aware of Content-Encoding, and AmqpJmsMessageFacade has access to it.


was (Author: yufei.cai):
Content-Encoding is now a formalized AMQP 1.0 property. As such it should be supported for spec-conformity.

> AMQP property content-encoding cannot be retrieved via JMS_AMQP_ContentEncoding
> -------------------------------------------------------------------------------
>
>                 Key: QPIDJMS-295
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-295
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.23.0
>            Reporter: Leo Riguspi
>            Priority: Major
>
> The AMQP property content-encoding can be set but not retrieved:
> 1. Create a message and set the vendor property JMS_AMQP_ContentEncoding=gzip using QPid JMS
> 2. Send the message to an ActiveMQ broker via AMQP 1.0 with transport.transformer=jms (native does not work!)
> 3. Retrieve the message with QPid JMS: the property JMS_AMQP_ContentEncoding does not exist anymore in the message and there seem to be no other way of retrieving the content-encoding. 
> Note that when consuming the same message with a python client the property seems to be set and accessible via the message.content_encoding field.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org