public class JbootAliyunmqImpl extends JbootmqBase implements Jbootmq
| 限定符和类型 | 字段和说明 |
|---|---|
private JbootAliyunmqConfig |
aliyunmqConfig |
private com.aliyun.openservices.ons.api.Consumer |
consumer |
private static com.jfinal.log.Log |
LOG |
private com.aliyun.openservices.ons.api.Producer |
producer |
channels, config, isStarted, serializer, syncReceiveMessageChannels| 构造器和说明 |
|---|
JbootAliyunmqImpl(JbootmqConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createProducer() |
Properties |
createProperties() |
void |
enqueue(Object message,
String toChannel) |
com.aliyun.openservices.ons.api.Producer |
getProducer() |
protected void |
onStartListening() |
protected void |
onStopListening() |
void |
publish(Object message,
String toChannel) |
void |
startBroadCastConsumer() |
void |
startQueueConsumer() |
addChannelListener, addMessageListener, addMessageListener, getConfig, getGlobalListeners, getListenersByChannel, getSerializer, getThreadPool, isStarted, notifyListeners, notifyListeners, removeAllListeners, removeListener, setSerializer, setThreadPool, startListening, stopListeningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMessageListener, addMessageListener, getConfig, getGlobalListeners, getListenersByChannel, removeAllListeners, removeListener, startListening, stopListeningprivate static final com.jfinal.log.Log LOG
private com.aliyun.openservices.ons.api.Producer producer
private com.aliyun.openservices.ons.api.Consumer consumer
private JbootAliyunmqConfig aliyunmqConfig
public JbootAliyunmqImpl(JbootmqConfig config)
protected void onStartListening()
onStartListening 在类中 JbootmqBaseprotected void onStopListening()
onStopListening 在类中 JbootmqBasepublic void startQueueConsumer()
public void startBroadCastConsumer()
public com.aliyun.openservices.ons.api.Producer getProducer()
public void createProducer()
public Properties createProperties()
Copyright © 2024. All rights reserved.