You could always subclass the plugin and change it as you wish. Cheers, Raúl. On 24 Mar 2016 8:08 p.m., "Raffi" <raffi.onj...@gmail.com> wrote:
> 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 > alternative? > > > TextMessage message = ... > log("exists: " + message.propertyExists("brokerPath")); //false > ActiveMQTextMessage amqMessage = (ActiveMQTextMessage)message; > amqMessage.getBrokerPath(); > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Why-is-brokerPath-not-a-message-property-tp4709942.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >