activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raffi <>
Subject Why is brokerPath not a message property?
Date Thu, 24 Mar 2016 19:38:21 GMT
We're testing network of brokers using brokerPath to validate which brokers
the message visited. Based on our observations, "brokerPath" is not a
message property or header, and the only way to access it is casting message
to ActiveMQMessage. No need to explain why this is not ideal; is there no

TextMessage message = ...
log("exists: " + message.propertyExists("brokerPath"));  //false
ActiveMQTextMessage amqMessage = (ActiveMQTextMessage)message;

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message