Class SingleAmqpConnectionFactory

java.lang.Object
org.springframework.amqp.client.SingleAmqpConnectionFactory
All Implemented Interfaces:
AmqpConnectionFactory, Aware, BeanFactoryAware, DisposableBean

public class SingleAmqpConnectionFactory extends Object implements AmqpConnectionFactory, BeanFactoryAware, DisposableBean
The AmqpConnectionFactory implementation to hold a single, shared Connection instance. If instance is created without a Client, it will be resolved from the BeanFactory on demand internally from the getConnection() call.
Since:
4.1
Author:
Artem Bilan
  • Constructor Details

    • SingleAmqpConnectionFactory

      public SingleAmqpConnectionFactory()
      Create an instance based on a Client bean resolved from the BeanFactory.
    • SingleAmqpConnectionFactory

      public SingleAmqpConnectionFactory(org.apache.qpid.protonj2.client.Client protonjClient)
  • Method Details