Mikhail Lukyanov created CAMEL-17912:
----------------------------------------
Summary: In SJMS2 producer parameter preserveMessageQos dont work.
Message arrives with default durability and priority values, not from headers
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
Attachments: CreateQueue.png, MessageIN.png, MessageOUT.png,
SendMessage.png, sjms2Move-1.rar
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)