How to set JMS message properties via JMSRouter ?
Issue
- We are attempting to configure a
JMSRouter
to send a JMS ObjectMessage to a JMS queue.
We wish to set multiple properties on the JMS ObjectMessage viajboss-esb.xml
file.
The configuration below doesn't seem to be setting the message properties throughmessage-prop
property.
<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, tools, and much more.