ActiveMQTextMessage {commandId = 0, responseRequired = false,
messageId = null, originalDestination = null,
originalTransactionId = null, producerId = null,
destination = null,
transactionId = null, expiration = 0, timestamp = 0, arrival = 0,
brokerInTime = 0, brokerOutTime = 0, correlationId = whyMe,
replyTo = null, persistent = false, type = null, priority = 0,
roupID = null,
groupSequence = 0, targetConsumerId = null, compressed = false,
userID = null, content = null, marshalledProperties = null,
dataStructure = null,
redeliveryCounter = 0, size = 0, properties = {PARAM1=xsd@1234,
PARAM0=testme, TYPE=ADMIN}, readOnlyProperties = false,
readOnlyBody =
false, droppable = false, jmsXGroupFirstForConsumer = false, text =
LOGIN_REQUEST#1}
我想检索属性PARAM0和PARAM1的值 我正在使用以下代码段,但它给了我一个空白值。请帮助。
请注意: - 消息的类型为ITextMessage。
答案 0 :(得分:1)