KB Article #162307

Using the "TextMessage" format in the body of a jms message

Problem

- - How to use  the "TextMessage" format  in the body of a jms message?

Resolution

- - The Gateway JMS connector supports the following JMS message types:
      - TextMessage;
      - BytesMessage;
     -  Message;

To use the TextMessage format, follow one of the below methods :
   1 - In transfer request (peltrans), add the property "bodyType = string"  : peltrans ... -property "bodyType = string";

   2- Or Specify it ( i.e. "bodyType = string")  in the parameter "jms property" of the model;