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

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere Java API reference » QAnywhere Java API for clients


QAManagerBase interface

public QAManagerBase
Derived classes

This class acts as a base class for QATransactionalManager and QAManager, which manage transactional and non-transactional messaging, respectively.

Use the QAManagerBase.start() method to allow a QAManagerBase instance to listen for messages. An instance of QAManagerBase must be used only on the thread that created it.

You can use instances of this class to create and manage QAnywhere messages. Use the QAManagerBase.createBinaryMessage() and QAManagerBase.createTextMessage() methods to create appropriate QAMessage instances. QAMessage instances provide a variety of methods to set message content and properties. To send QAnywhere messages, use the QAManagerBase.putMessage(String, QAMessage) method to place the addressed message in the local message store queue. The message is transmitted by the QAnywhere Agent based on its transmission policies or when you call QAManagerBase.triggerSendReceive().

QAManagerBase also provides methods to set and get message store properties.

See Also

QATransactionalManager interface

QAManager interface


All members of ianywhere.qanywhere.client.QAManagerBase, including all inherited members.

browseMessages method
browseMessagesByID method
browseMessagesByQueue method
browseMessagesBySelector method
cancelMessage method
close method
createBinaryMessage method
createTextMessage method
getBooleanStoreProperty method
getByteStoreProperty method
getDoubleStoreProperty method
getFloatStoreProperty method
getIntStoreProperty method
getLongStoreProperty method
getMessage method
getMessageBySelector method
getMessageBySelectorNoWait method
getMessageBySelectorTimeout method
getMessageNoWait method
getMessageTimeout method
getMode method
getQueueDepth method
getQueueDepth method
getShortStoreProperty method
getStoreProperty method
getStorePropertyNames method
getStringStoreProperty method
propertyExists method
putMessage method
putMessageTimeToLive method
setBooleanStoreProperty method
setByteStoreProperty method
setDoubleStoreProperty method
setFloatStoreProperty method
setIntStoreProperty method
setLongStoreProperty method
setMessageListener method
setMessageListener2 method
setMessageListenerBySelector method
setMessageListenerBySelector2 method
setProperty method
setShortStoreProperty method
setStoreProperty method
setStringStoreProperty method
start method
stop method
triggerSendReceive method