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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content