Class RabbitMQConnectionFactory
java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.rabbitmq.RabbitMQConnectionFactory
Encapsulate a RabbitMQ AMQP Connection factory definition within an inbound configuration
-
Constructor Summary
ConstructorsConstructorDescriptionRabbitMQConnectionFactory(Properties properties) Digest a AMQP CF definition from the configuration and construct -
Method Summary
Modifier and TypeMethodDescriptioncom.rabbitmq.client.ConnectionCreate a RabbitMQ connectiongetName()get connection factory nameGet all rabbit mq parametersvoidSet connection factory name
-
Constructor Details
-
RabbitMQConnectionFactory
Digest a AMQP CF definition from the configuration and construct- Throws:
RabbitMQException
-
-
Method Details
-
getName
get connection factory name- Returns:
- connection factory name
-
setName
Set connection factory name- Parameters:
name- name to set for the connection Factory
-
getContent
-
getParameters
Get all rabbit mq parameters- Returns:
- a map of parameters
-
createConnection
Create a RabbitMQ connection- Returns:
- a
Connectionobject - Throws:
RabbitMQException
-