Message

This is a message with an empty body. It is the base interface for all the other message forms. Because it has no payload, it is useful as a control message.

If data of zero length is passed to the adapter the adapter will create a message with no payload.

A message with no payload can have header and property values.

When sending a message with no payload that has specified header and property values, the opening tag of the <Body> element must be specified in one of the following formats:

  • <Body>
  • <Body type="">
  • <Body type="Message">

When the adapter receives a message with no payload, it always omits the "type" attribute of the <Body> element in the returned XML data.