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

camel-sjms2 - preserveMessageQoS seems to not work as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.11.6, 3.14.2
    • 3.11.7, 3.14.3, 3.17.0
    • None
    • None
    • JDK 8

      camel-version 3.14.2

    • Unknown

    Description

      In SJMS2 producer parameter preserveMessageQos doesn't work. Message arrives with default durability and priority values, not from headers

      If the parameter preserveMessageQos value is true, the values from the headers JMSPriority, JMSDeliveryMode, and JMSExpiration are not set when the message is sent.

      Steps

      1. Install and run Apache Artemis (user/password root/root)
      2. Create ANYCAST queue IN from console http://localhost:8161/console
      3. Send nondurable message with 0 priority in queue IN
      4. Run Sjms2MoveTest from sjms2Move maven project in attachment
      5. Check message in OUT queue

      Expected Behavior:

      Message nondurable and has 0 priority

      Received Behavior:

      Message durable and has 4 priority (default values)




      Attachments

        1. sjms2Move-1.rar
          9 kB
          Mikhail Lukyanov
        2. MessageOUT.png
          29 kB
          Mikhail Lukyanov
        3. MessageIN.png
          27 kB
          Mikhail Lukyanov
        4. SendMessage.png
          22 kB
          Mikhail Lukyanov
        5. CreateQueue.png
          40 kB
          Mikhail Lukyanov

        Activity

          People

            davsclaus Claus Ibsen
            lukymiv Mikhail Lukyanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: