public class CachingChannelFactory extends Object
| 构造器和说明 |
|---|
CachingChannelFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static com.rabbitmq.client.ConnectionFactory |
buildConnectionFactory(MQContext context) |
static void |
closeAll() |
static com.rabbitmq.client.Channel |
createChannel(MQContext context) |
static String |
getExchangeName() |
static com.rabbitmq.client.Channel |
getProduceChannel(MQContext context) |
public static String getExchangeName()
public static com.rabbitmq.client.ConnectionFactory buildConnectionFactory(MQContext context)
public static com.rabbitmq.client.Channel getProduceChannel(MQContext context)
public static com.rabbitmq.client.Channel createChannel(MQContext context)
public static void closeAll()
Copyright © 2025. All rights reserved.