How to set JMS message properties via JMSRouter ?
Issue
- We are attempting to configure a
JMSRouterto send a JMS ObjectMessage to a JMS queue.
We wish to set multiple properties on the JMS ObjectMessage viajboss-esb.xmlfile.
The configuration below doesn't seem to be setting the message properties throughmessage-propproperty.
<action class="org.jboss.soa.esb.actions.routing.JMSRouter" name="JMS-routing">
<property name="jndiName" value="queue/Test-response-queue"/>
<property name="connection-factory" value="ClusteredConnectionFactory"/>
<property name="unwrap" value="true"/>
<property name="message-prop" value="ClientMsgID=test SessionID=CLID-0011442"/>
</action>
I'm not sure if the format for specifying the "message-prop" property is correct. Can you please advice us how solve this problem?
Environment
- JBoss Enterprise Service Oriented Architecture Platform (SOA-P)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
