public class JbootQpidmqImpl extends JbootmqBase implements Jbootmq
| 限定符和类型 | 类和说明 |
|---|---|
private class |
JbootQpidmqImpl.ReceiveMsgThread |
| 限定符和类型 | 字段和说明 |
|---|---|
private org.apache.qpid.jms.Connection |
connection |
private static com.jfinal.log.Log |
LOG |
private JbootQpidmqConfig |
qpidConfig |
private Thread |
queueThread |
private boolean |
serializerEnable |
private Thread |
topicThread |
channels, config, isStarted, serializer, syncReceiveMessageChannels| 构造器和说明 |
|---|
JbootQpidmqImpl(JbootmqConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
enqueue(Object message,
String toChannel) |
String |
getConnectionUrl() |
String |
getQueueAddr(String channel) |
String |
getTopicAddr(String channel) |
protected void |
onStartListening() |
protected void |
onStopListening() |
void |
publish(Object message,
String toChannel) |
void |
sendMsg(String addr,
Object message) |
void |
startReceiveMsgThread() |
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 org.apache.qpid.jms.Connection connection
private boolean serializerEnable
private JbootQpidmqConfig qpidConfig
private Thread queueThread
private Thread topicThread
public JbootQpidmqImpl(JbootmqConfig config)
protected void onStartListening()
onStartListening 在类中 JbootmqBaseprotected void onStopListening()
onStopListening 在类中 JbootmqBasepublic String getConnectionUrl()
public String getQueueAddr(String channel)
public String getTopicAddr(String channel)
public void startReceiveMsgThread() throws Exception
ExceptionCopyright © 2024. All rights reserved.