public class RabbitMQConnectionFactory extends Object
Constructor and Description |
---|
RabbitMQConnectionFactory(Properties properties)
Digest a AMQP CF definition from the configuration and construct
|
Modifier and Type | Method and Description |
---|---|
com.rabbitmq.client.Connection |
createConnection()
Create a RabbitMQ connection
|
String |
getContent() |
String |
getName()
get connection factory name
|
Map<String,String> |
getParameters()
Get all rabbit mq parameters
|
void |
setName(String name)
Set connection factory name
|
public RabbitMQConnectionFactory(Properties properties) throws RabbitMQException
RabbitMQException
public String getName()
public void setName(String name)
name
- name to set for the connection Factorypublic String getContent()
public Map<String,String> getParameters()
public com.rabbitmq.client.Connection createConnection() throws RabbitMQException
Connection
objectRabbitMQException
Copyright © 2022 WSO2. All rights reserved.