You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2016/05/26 12:25:12 UTC

[jira] [Created] (CAMEL-9995) Camel-JMS: includeAllJMSXProperties parameter doesn't work

Andrea Cosentino created CAMEL-9995:
---------------------------------------

             Summary: Camel-JMS: includeAllJMSXProperties parameter doesn't work
                 Key: CAMEL-9995
                 URL: https://issues.apache.org/jira/browse/CAMEL-9995
             Project: Camel
          Issue Type: Bug
          Components: camel-jms
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino
            Priority: Minor
             Fix For: 2.18.0


When we need to remove the JMSX* property from the JMS Message before create a Camel Message we can use the includeAllJMSXProperties parameter in the URI, but actually it doesn't work.

This is because the filtering direction is IN and we are adding the filtering rules to the OUT filter.

Also we need to take care of this parameter in the JMSBinding class too.

https://github.com/apache/camel/blob/master/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsBinding.java#L183-L184

The JMSX headers will be added (UserID and GroupID) without take in account of includeAllJMSXProperties.



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