activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hackingbear <hackingb...@gmail.com>
Subject Re: How to set message property in broker filter
Date Mon, 16 Nov 2009 19:02:48 GMT

I call the setStringProperty() and setProperty() to the message parameter
('messageSend' in
http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/BrokerFilter.html#send%28org.apache.activemq.broker.ProducerBrokerExchange,%20org.apache.activemq.command.Message%29)

Are you saying messageSend.getMessage().setProperty() will work? (Though
getMessage() seems to return an object of type *.activemq.command.Message.)


rajdavies wrote:
> 
> In the send() method - how are you trying to set the properties ? -  
> are you calling message.getMessage().setProperty() ?
> 

-- 
View this message in context: http://old.nabble.com/How-to-set-message-property-in-broker-filter-tp26362561p26377546.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message