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

Unable to convert jms textmessage to bytemessage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.1
    • 2.8.2, 2.9.0
    • camel-jms
    • None
    • Linux, Windowns

    • Unknown

    Description

      When receiving a jms textmessage and just forward it to a another queue as a jms bytemessage the original textmessage is sendt without being converted to a jms bytemessage.

      JmsBinding.makeJmsMessage seems to use the exchange headers to determine of a new jms message should be created or the original send.
      Exchange headers seems to be populated if you do routing or set a dummy header.

      See http://camel.465427.n5.nabble.com/Convert-jms-message-from-textmessage-to-bytemessage-tc4895362.html

      /preben

      Attachments

        1. jmsbug.zip
          3 kB
          Preben Asmussen

        Activity

          People

            davsclaus Claus Ibsen
            preben Preben Asmussen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: