SNAPSHOT BUILD
Can someone point me to an example of how to switch on a JMS property of an
incoming message?
This is what I have:
<proxy name="receiveJMSKoList" transports="jms">
<target>
<inSequence>
<property action="set" name="OUT_ONLY" value="true"/>
<sequence key="validateJmsKoList"/>
<sequence key="filterJmsKoList"/>
<sequence key="customSendJMSKoList"/>
</inSequence>
</target>
<parameter name="transport.jms.ContentType">
<rules>
<jmsProperty>contentType</jmsProperty>
<default>application/xml</default>
</rules>
</parameter>
<parameter
name="transport.jms.ConnectionFactory">incomingQueueFactory</parameter>
<parameter
name="transport.jms.Destination">cn=incomingQueue</parameter>
</proxy>
In the inSequence, I would like to inspect a JMS property like MessageType
and switch based on the value so I can call different sequences for
different "message types."
Any help would be appreciated.
Thanks
Keith
--
View this message in context:
http://www.nabble.com/switch-on-JMS-property-tp23039960p23039960.html
Sent from the Synapse - User mailing list archive at Nabble.com.