Mapping Apama events and JMS messages
After you specify which Apama events you want to associate with JMS messages, you need to create mapping rules that associate Apama event fields with parts of the JMS messages. Apama's adapter editor in Software AG Designer provides a visual mapping tool to create the mapping rules. There are several approaches for how to map Apama events to the JMS messages - these are explained in the topics below.
In addition, you can also specify transformation types:
XSLT transformation type. Use this approach when receiving JMS messages containing XML to change or simplify the structure of the XML document.
XPath XML transformation type. Use this approach when receiving JMS messages containing XML to specify values from the XML document that are to be used to populate the fields in the target Apama event.
XMLDecode transformation type. Use this approach when receiving JMS messages containing XML and multiple rules are working off of the same XML source.