@Extension public class MessageLogger extends MessageQueueListener
| コンストラクタと説明 | 
|---|
MessageLogger()  | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
String | 
getAppId()
Gets application id. 
 | 
String | 
getName()
Gets name. 
 | 
void | 
onBind(String queueName)
Calls when binds to queue. 
 | 
void | 
onReceive(String queueName,
         String contentType,
         Map<String,Object> headers,
         byte[] body)
Calls when message arrives. 
 | 
void | 
onUnbind(String queueName)
Calls when unbinds from queue. 
 | 
all, fireOnBind, fireOnReceive, fireOnUnbindpublic String getName()
getName クラス内 MessageQueueListenerpublic String getAppId()
getAppId クラス内 MessageQueueListenerpublic void onBind(String queueName)
onBind クラス内 MessageQueueListenerqueueName - the queue name that bind to.public void onUnbind(String queueName)
onUnbind クラス内 MessageQueueListenerqueueName - the queue name that unbind from.public void onReceive(String queueName, String contentType, Map<String,Object> headers, byte[] body)
onReceive クラス内 MessageQueueListenerqueueName - the queue name that receive from.contentType - the type of content.headers - the map of message headers.body - the content body.Copyright © 2016–2018. All rights reserved.