Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9995

Camel-JMS: includeAllJMSXProperties parameter doesn't work

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Abandoned
    • None
    • Future
    • camel-jms
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            acosentino Andrea Cosentino
            acosentino Andrea Cosentino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment