Show
Create a broker and TEST queue:
$ ./bin/artemis queue create --address TEST --name TEST --anycast --durable --auto-create-address --preserve-on-no-consumers
run the reproducer :
$ dotnet run
Amqp.Message
properties(message-id:command-request,correlation-id:2,absolute-expiry-time:1/1/0001 12:00:00 AM,creation-time:1/1/0001 12:00:00 AM,group-sequence:0)
Hello World!
from the console browsing the messages, I can not find the PropertiesText and StringProperties of JMSCorrelation id using AMQ Broker 7.10
[
{
"address" : "TEST" ,
"ShortProperties" : null ,
"messageID" : "407" ,
"priority" : 4,
"type" : 3,
"userID" : "ID:command-request" ,
"redelivered" : false ,
"ByteProperties" : null ,
"LongProperties" : null ,
"IntProperties" : null ,
"durable" : false ,
"protocol" : "AMQP" ,
"persistentSize" : 61,
"StringProperties" : {
"applicationProperties.ben" : "1" ,
"extraProperties._AMQ_AD" : "TEST"
},
"DoubleProperties" : null ,
"expiration" : 0,
"text" : "Hello World!" ,
"PropertiesText" : "{applicationProperties.ben=1, extraProperties._AMQ_AD=TEST}" ,
"largeMessage" : false ,
"BooleanProperties" : null ,
"FloatProperties" : null ,
"timestamp" : 0
}
]
checking with the 7.9 version I can see the value in both
[
{
"address" : "TEST" ,
"ShortProperties" : {
"JMS_AMQP_ORIGINAL_ENCODING" : 5
},
"messageID" : "199" ,
"priority" : 4,
"type" : 3,
"userID" : "ID:37d576e6-55c8-11ed-bcc3-845cf3f10437" ,
"redelivered" : false ,
"ByteProperties" : null ,
"LongProperties" : null ,
"IntProperties" : null ,
"durable" : false ,
"persistentSize" : 323,
"StringProperties" : {
"ben" : "1" ,
"JMSCorrelationID" : "2" ,
"NATIVE_MESSAGE_ID" : "ID:AMQP_NO_PREFIX:command-request"
},
"DoubleProperties" : null ,
"expiration" : 0,
"text" : "Hello World!" ,
"PropertiesText" : "{JMS_AMQP_ORIGINAL_ENCODING=5, ben=1, JMSCorrelationID=2, NATIVE_MESSAGE_ID=ID:AMQP_NO_PREFIX:command-request}" ,
"largeMessage" : false ,
"BooleanProperties" : null ,
"FloatProperties" : null ,
"timestamp" : 0
}
]