Apama Documentation : Connecting Apama Applications to External Components : Using Message Services : Using Correlator-Integrated Messaging for JMS : Mapping Apama events and JMS messages : Adding multiple XPath mapping rules for a received XML document : Using Treat As on JMS Body dialog - Receiver
Using Treat As on JMS Body dialog - Receiver
In the Mapping Definitions section of Receiver Mapping Configuration, when you right-click JMS Body: Text Message and select Treat as... option, the Treat As dialog appears. The Treat As dialog allows you to select a base type for the JMS Body to treat a node in the mapper.
To select a base type for the JMS Body
1. Select the base type of the JMS body type in the Body Type field. If you select Text Message or Bytes Message, you must also select one of the following options:
*Select the String option if you have selected Text Message in the Body Type field.
*Select the Bytes option if you have selected Bytes Message in the Body Type field. If the JMS body is a bytes message, the UTF-8 encoding is used to convert it into a character string.
*Select the XML option and browse for the required XML file.
*Select the XML using schema option and browse for the required schema file using the Type Chooser dialog. See Using the Type Chooser dialog for more information on using Type Chooser dialog. The Element name is automatically populated if it is defined for the chosen schema file.
2. Click OK.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback