Search in sources :

Example 1 with QueueSession

use of cn.cerc.jdb.queue.QueueSession in project summer-bean by cn-cerc.

the class MailRecord method send.

public boolean send() {
    QueueSession sess = (QueueSession) handle.getProperty(QueueSession.sessionId);
    CloudQueue queue = sess.openQueue(appQueue.queueSendMail);
    return sess.append(queue, this.toString());
}
Also used : QueueSession(cn.cerc.jdb.queue.QueueSession) CloudQueue(com.aliyun.mns.client.CloudQueue)

Aggregations

QueueSession (cn.cerc.jdb.queue.QueueSession)1 CloudQueue (com.aliyun.mns.client.CloudQueue)1