Uses of Interface com.ibm.ima.plugin.ImaMessage (Eclipse Amlen Javadoc Reference)

## Uses of Interface
com.ibm.ima.plugin.ImaMessage

- Packages that use ImaMessage
  Package | Description
  --- | ---
  com.ibm.ima.plugin | Implements a set of interfaces defining the Java plug-in mechanism for IBM MessageSight.

- - ### Uses of ImaMessage in com.ibm.ima.plugin

    Methods in com.ibm.ima.plugin that return ImaMessage
    Modifier and Type | Method | Description
    --- | --- | ---
    `ImaMessage` | ImaMessage.`addProperties​(Map<String,​Object> props)` | Add to the properties of a message.
    `ImaMessage` | ImaMessage.`clearProperties()` | Clear all user message properties.
    `ImaMessage` | ImaPlugin.`createMessage​(ImaMessageType mtype)` | Create a message.
    `ImaMessage` | ImaMessage.`setBodyBytes​(byte[] body)` | Set the body as a byte array.
    `ImaMessage` | ImaMessage.`setBodyMap​(Map<String,​Object> body)` | Set the body as a Map.
    `ImaMessage` | ImaMessage.`setBodyText​(String body)` | Set the body as a String.
    `ImaMessage` | ImaMessage.`setMessageType​(ImaMessageType msgtype)` | Set the message type.
    `ImaMessage` | ImaMessage.`setPersistent​(boolean persist)` | Set the persistence of the message.
    `ImaMessage` | ImaMessage.`setReliability​(ImaReliability reliability)` | Set the reliability of the message.
    `ImaMessage` | ImaMessage.`setRetain​(boolean retain)` | Set the retain value of the message.

    Methods in com.ibm.ima.plugin with parameters of type ImaMessage
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ImaConnectionListener.`onGetMessage​(Object correlate, int rc, ImaMessage message)` | Called when an asynchronous get retained message action completes.
    `void` | ImaConnectionListener.`onMessage​(ImaSubscription sub, ImaMessage msg)` | Called when a message from MessageSight is received for a connection.
    `void` | ImaConnection.`publish​(ImaMessage message, String topic, Object ackObj)` | Publish a message to a topic.
    `void` | ImaConnection.`send​(ImaMessage message, ImaDestinationType desttype, String dest, Object ackObj)` | Send a message to a destination.