public class RabbitChannelFactory extends Object
| 构造器和说明 |
|---|
RabbitChannelFactory(RabbitConfig cfg) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.rabbitmq.client.Channel |
getChannel() |
RabbitConfig |
getConfig() |
com.rabbitmq.client.Connection |
getConnection() |
com.rabbitmq.client.ConnectionFactory |
getConnectionFactory() |
public RabbitChannelFactory(RabbitConfig cfg)
public com.rabbitmq.client.ConnectionFactory getConnectionFactory()
public RabbitConfig getConfig()
public com.rabbitmq.client.Connection getConnection()
throws IOException,
TimeoutException
public com.rabbitmq.client.Channel getChannel()
throws IOException,
TimeoutException
Copyright © 2021. All rights reserved.