How to set JMS message properties via JMSRouter ?

Solution Unverified - Updated -

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 via jboss-esb.xml file.
    The configuration below doesn't seem to be setting the message properties through message-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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.