public class JbootRabbitmqImpl extends JbootmqBase implements Jbootmq
| 限定符和类型 | 字段和说明 |
|---|---|
private JbootApplicationConfig |
appConfig |
private Map<String,com.rabbitmq.client.Channel> |
channelMap |
private com.rabbitmq.client.Connection |
connection |
private JbootRabbitmqConfig |
rabbitmqConfig |
channels, config, isStarted, serializer, syncReceiveMessageChannels| 构造器和说明 |
|---|
JbootRabbitmqImpl(JbootmqConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bindChannel(com.rabbitmq.client.Channel channel,
String name,
String orginaChannelName) |
String |
buildBroadcastChannelName(String channel) |
void |
enqueue(Object message,
String toChannel) |
com.rabbitmq.client.Channel |
getChannel(String toChannel,
boolean queueMode) |
protected void |
onStartListening() |
protected void |
onStopListening() |
void |
publish(Object message,
String toChannel) |
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 com.rabbitmq.client.Connection connection
private Map<String,com.rabbitmq.client.Channel> channelMap
private JbootRabbitmqConfig rabbitmqConfig
private JbootApplicationConfig appConfig
public JbootRabbitmqImpl(JbootmqConfig config)
protected void onStartListening()
onStartListening 在类中 JbootmqBaseprotected void onStopListening()
onStopListening 在类中 JbootmqBasepublic void bindChannel(com.rabbitmq.client.Channel channel, String name, String orginaChannelName)
public com.rabbitmq.client.Channel getChannel(String toChannel, boolean queueMode)
public String buildBroadcastChannelName(String channel)
Copyright © 2024. All rights reserved.