Description
When sending and receiving a message using STOMP, the header should be preserved.
In my tests, when a header named persistent is present in the message sent from a producer to Artemis, it is not present anymore when sent from Artemis to a consumer.
Here is the frame sent to Artemis (header only):
SEND
destination:jms.topic.test.mbtf.GWAEKJqw
x-uuid:9150e58-56c6cf60-6219-f4f8-1
persistent:true
type:some text
content-length:3
Here is the frame sent from Artemis (header only):
MESSAGE
subscription:9151588-56c6cf60-6219-1b4c-1
content-length:3
message-id:393921
destination:jms.topic.test.mbtf.GWAEKJqw
expires:0
redelivered:false
priority:1
timestamp:1455869792911
type:some text
x-uuid:9150e58-56c6cf60-6219-f4f8-1