...
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");
|
...