Hi Keith
I am looking to switch on user defined properties.
The publisher of the JMS messages set several user defined properties using
Something like this:
(javax.jms.TextMessage) message.setStringProperty(MESSAGE_TYPE, "type1")
When I receive the message I would like to inspect the value of the
MESSAGE_TYPE user defined property and switch on the value.
These are read as transport headers.. so you could do this:
<filter source="get-property('transport', 'MESSAGE_TYPE')"
regex="type1"> ....</filter>
cheers
asankha
--
Asankha C. Perera
AdroitLogic, http://adroitlogic.org
http://esbmagic.blogspot.com