Hi,
I can reproduce your results but I can also see a difference based on the persistence of the message I publish.
When I publish a persistent message, I see "persistent: true" but when I publish a non-persistent message,
I get "persistent: 1". My guess is that this is a leaky translation of AMQP to STOMP - in AMQP delivery-mode
of 1 means non-persistent and delivery-mode=2 means persistent. Seems like the latter is translated to "true"
I don't see any specification of what this value should be - just that the headers can be used to provide such information.
Assuming all of the above is correct, is it ok for you? Can you just treat 1 as false?
Disclaimer: I know close to nothing about STOMP so please bear with me. :)