Using expressions in mapping rules
In many cases, a mapping rule requires customization. For example, if you map an event field to a JMS Property, you need to specify which JMS property to use. In other cases you may want to use a constant value in a mapping rule or to create a JUEL expression, for example to execute an XPath query on nested XML documents.
1. Drag a mapping line from the entry in the source tree to the target. If one side of the mapping rule requires a more specific expression, the Connection Participants dialog is displayed.
2. In the Connection Participants dialog's Type field, select an entry from the drop-down list.
3. In the next field enter the name of the JMS Body type, the JMS Property name, a constant value, or a custom JUEL expression. As you enter this information, the expression that wil be used in the mapping rule is displayed in the Expression Value field.
4. Click OK.
Copyright © 2013
Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.