I just tested this on the main branch with an OpenWire JMS producer and the
STOMP client in our test-suite. The OpenWire JMS producer did not invoke
setJMSPriority and the STOMP client received a message with a header
"priority" with the value "4".

What version of ActiveMQ Artemis are you using? Can you provide steps to
reproduce what you're seeing or possibly a STOMP protocol trace log [1]
from when you observe this behavior?


Justin

[1]
https://activemq.apache.org/components/artemis/documentation/latest/stomp.html#logging

On Wed, Dec 6, 2023 at 1:55 PM Steigerwald, Aaron
<asteigerw...@brandesassociates.com.invalid> wrote:

> Hello,
>
> My STOMP client receives populated priority header values when it consumes
> OpenWire JMS messages with valid JMSPriority values except 4. Is this
> expected behavior because 4 is the default JMSPriority value? Should the
> STOMP client assume the priority is 4 if the priority header is undefined?
>
> This occurs with an Artemis broker, an OpenWire producer, and a stompit
> consumer.
>
> Thank you,
> Aaron
>

Reply via email to