Details
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
- 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)