[
https://issues.apache.org/jira/browse/CAMEL-17912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-17912:
--------------------------------
Fix Version/s: 3.17.0
(was: 3.x)
> camel-sjms2 - preserveMessageQoS seems to not work as expected
> --------------------------------------------------------------
>
> Key: CAMEL-17912
> URL: https://issues.apache.org/jira/browse/CAMEL-17912
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.14.2
> Environment: JDK 8
> camel-version 3.14.2
> Reporter: Mikhail Lukyanov
> Priority: Minor
> Fix For: 3.17.0
>
> Attachments: CreateQueue.png, MessageIN.png, MessageOUT.png,
> SendMessage.png, sjms2Move-1.rar
>
>
> 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*
> # Install and run Apache Artemis (user/password root/root)
> # Create ANYCAST queue IN from console http://localhost:8161/console
> # Send nondurable message with 0 priority in queue IN
> # Run Sjms2MoveTest from sjms2Move maven project in attachment
> # Check message in OUT queue
> *Expected Behavior:*
> Message nondurable and has 0 priority
> *Received Behavior:*
> Message durable and has 4 priority (default values)
> !CreateQueue.png!
> !SendMessage.png!
> !MessageIN.png!
> !MessageOUT.png!
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)