You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aaron Whiteside (JIRA)" <ji...@apache.org> on 2014/10/27 20:17:35 UTC

[jira] [Updated] (CAMEL-7975) SJMS Endpoint does not reverse header encoding

     [ https://issues.apache.org/jira/browse/CAMEL-7975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Whiteside updated CAMEL-7975:
-----------------------------------
    Attachment: unnamed3.patch

Patch attached

> SJMS Endpoint does not reverse header encoding
> ----------------------------------------------
>
>                 Key: CAMEL-7975
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7975
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-sjms
>    Affects Versions: 2.14.0
>            Reporter: Aaron Whiteside
>            Priority: Minor
>         Attachments: unnamed3.patch
>
>
> SJMS Endpoint does not reverse header encoding, when it replaces . with \_DOT\_ and - with \_HYPHEN\_ it does not replace them with the original values.
> So this breaks compatibility with the camel-jms component.
> Quote taken from: http://camel.apache.org/jms.html
> {quote}
> The current header name strategy for accepting header names in Camel is as follows:
> Dots are replaced by \_DOT\_ and the replacement is reversed when Camel consume the message
> Hyphen is replaced by \_HYPHEN\_ and the replacement is reversed when Camel consumes the message
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)