Interface EngineFactory

All Known Implementing Classes:
ProtonEngineFactory

public interface EngineFactory
Interface used to define the basic mechanisms for creating Engine instances.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final EngineFactory
    The Proton provided EngineFactory instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a new Engine instance with a SASL authentication layer added.
    Create a new Engine instance that handles only raw AMQP with no SASL layer enabled.
  • Field Details

    • PROTON

      static final EngineFactory PROTON
      The Proton provided EngineFactory instance.
  • Method Details

    • createEngine

      Engine createEngine()
      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.
      Returns:
      a new Engine instance that can handle SASL authentication.
    • createNonSaslEngine

      Engine createNonSaslEngine()
      Create a new Engine instance that handles only raw AMQP with no SASL layer enabled.
      Returns:
      a new raw AMQP aware Engine implementation.