public class ActivemqFactory extends java.lang.Object implements Constant
DEFAULT_CONSUMER_CHECK_INTERVAL, logger, MQ_CLIENTID, MQ_HOST, MQ_PASSWORD, MQ_PORT, MQ_PUBSUB_HOST, MQ_PUBSUB_MQTT, MQ_PUBSUB_PORT, MQ_PUBSUB_URI, MQ_QUEUE_HOST, MQ_QUEUE_PORT, MQ_QUEUE_URI, MQ_URI, MQ_USERNAME, PUBSUB_PREFIX, QUEUE_PREFIX| 限定符和类型 | 方法和说明 |
|---|---|
static void |
closeAll()
关闭并删除所有consumer,subscriber,producer
|
static ActivemqConsumer |
getConsumer()
返回
ActivemqPoolLazy默认实例对应的ActivemqConsumer实例 |
static ActivemqConsumer |
getConsumer(ActivemqPoolLazy jedisPoolLazy)
返回
ActivemqPoolLazy对应的ActivemqConsumer实例 |
static ActivemqProducer |
getProducer()
返回
ActivemqPoolLazy默认实例对应的ActivemqProducer实例 |
static ActivemqProducer |
getProducer(ActivemqPoolLazy jedisPoolLazy)
返回
ActivemqPoolLazy对应的ActivemqProducer实例 |
static ActivemqPublisher |
getPublisher()
返回
ActivemqPoolLazy默认实例对应的ActivemqPublisher实例 |
static ActivemqPublisher |
getPublisher(ActivemqPoolLazy jedisPoolLazy)
|
static ActivemqSubscriber |
getSubscriber()
返回
ActivemqPoolLazy默认实例对应的ActivemqSubscriber实例 |
static ActivemqSubscriber |
getSubscriber(ActivemqPoolLazy jedisPoolLazy)
|
public static ActivemqConsumer getConsumer(ActivemqPoolLazy jedisPoolLazy)
ActivemqPoolLazy对应的ActivemqConsumer实例jedisPoolLazy - gu.simplemq.pool.BaseMQInstance#getInstance(gu.simplemq.activemq.ActivemqPoolLazy)public static ActivemqConsumer getConsumer()
ActivemqPoolLazy默认实例对应的ActivemqConsumer实例ActivemqPoolLazy#getDefaultInstance()}public static ActivemqSubscriber getSubscriber(ActivemqPoolLazy jedisPoolLazy)
jedisPoolLazy - gu.simplemq.pool.BaseMQInstance#getInstance(gu.simplemq.activemq.ActivemqPoolLazy)public static ActivemqSubscriber getSubscriber()
ActivemqPoolLazy默认实例对应的ActivemqSubscriber实例ActivemqPoolLazy#getDefaultInstance()}public static ActivemqProducer getProducer(ActivemqPoolLazy jedisPoolLazy)
ActivemqPoolLazy对应的ActivemqProducer实例jedisPoolLazy - gu.simplemq.pool.BaseMQInstance#getInstance(gu.simplemq.activemq.ActivemqPoolLazy)public static ActivemqProducer getProducer()
ActivemqPoolLazy默认实例对应的ActivemqProducer实例ActivemqPoolLazy#getDefaultInstance()}public static ActivemqPublisher getPublisher(ActivemqPoolLazy jedisPoolLazy)
jedisPoolLazy - gu.simplemq.pool.BaseMQInstance#getInstance(gu.simplemq.activemq.ActivemqPoolLazy)public static ActivemqPublisher getPublisher()
ActivemqPoolLazy默认实例对应的ActivemqPublisher实例ActivemqPoolLazy#getDefaultInstance()}public static void closeAll()
Copyright © 2020. All Rights Reserved.