Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere Java API reference » QAnywhere Java API for clients » QAManagerBase interface


putMessage method

void QAManagerBase.putMessage(
  String address,
  QAMessage msg
throws QAException
  • address   The address of the message specifying the destination queue name.

  • msg   The message to put in the local message store for transmission.

  • Thrown if there is a problem putting the message.


Prepares a message to send to another QAnywhere client.

This method inserts a message and a destination address into your local message store. The time of message transmission depends on QAnywhere Agent transmission policies.

The address takes the form 'id\queue-name', where 'id' is the destination message store id and 'queue-name' identifies a queue that is used by the destination QAnywhere client to listen for or receive messages.

See Also

putMessageTimeToLive method