Class ProtonEngineFactory

java.lang.Object
org.apache.qpid.protonj2.engine.impl.ProtonEngineFactory
All Implemented Interfaces:
EngineFactory

public final class ProtonEngineFactory extends Object implements EngineFactory
Factory class for proton Engine creation
  • Constructor Details

    • ProtonEngineFactory

      public ProtonEngineFactory()
  • Method Details

    • createEngine

      public Engine createEngine()
      Description copied from interface: EngineFactory
      Create a new Engine instance with a SASL authentication layer added. The returned Engine can either be fully pre-configured for SASL or can require additional user configuration.
      Specified by:
      createEngine in interface EngineFactory
      Returns:
      a new Engine instance that can handle SASL authentication.
    • createNonSaslEngine

      public Engine createNonSaslEngine()
      Description copied from interface: EngineFactory
      Create a new Engine instance that handles only raw AMQP with no SASL layer enabled.
      Specified by:
      createNonSaslEngine in interface EngineFactory
      Returns:
      a new raw AMQP aware Engine implementation.