Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
准备将发送给另一 QAnywhere 客户端的消息。
void QAManagerBase.putMessage( String address, QAMessage msg ) throws QAException
address 指定目标队列名称的消息的地址。
msg 放入本地消息存储库以进行传输的消息。
QAException 类 如果放入消息时存在问题,则抛出异常。
此方法将消息和目标地址插入本地消息存储库中。消息传输的时间取决于 QAnywhere 代理的传输策略。
地址采用 'id\queue-name' 的形式,其中 'id' 是目标消息存储库 ID,而 'queue-name' 则用于标识目标 QAnywhere 客户端用于监听或接收消息的队列。