...
For example the following code shows how to create a message group using an XPath expression taking an invoice's product code as the Correlation Identifier
Code Block |
---|
from("activemq:a").setHeader("JMSXGroupID"JmsConstants.JMS_X_GROUP_ID, xpath("/invoice/productCode")).to("activemq:b"); |
...