Class RabbitMQConnectionFactory


  • public class RabbitMQConnectionFactory
    extends Object
    Encapsulate a RabbitMQ AMQP Connection factory definition within an inbound configuration
    • Method Detail

      • getName

        public String getName()
        get connection factory name
        Returns:
        connection factory name
      • setName

        public void setName​(String name)
        Set connection factory name
        Parameters:
        name - name to set for the connection Factory
      • getContent

        public String getContent()
      • getParameters

        public Map<String,​String> getParameters()
        Get all rabbit mq parameters
        Returns:
        a map of parameters
      • createConnection

        public com.rabbitmq.client.Connection createConnection()
                                                        throws RabbitMQException
        Create a RabbitMQ connection
        Returns:
        a Connection object
        Throws:
        RabbitMQException