Class BasicAuthJcsmpSessionServiceFactory

java.lang.Object
org.apache.beam.sdk.io.solace.broker.SessionServiceFactory
org.apache.beam.sdk.io.solace.broker.BasicAuthJcsmpSessionServiceFactory
All Implemented Interfaces:
Serializable

public abstract class BasicAuthJcsmpSessionServiceFactory extends SessionServiceFactory
A factory for creating JcsmpSessionService instances. Extends SessionServiceFactory.

This factory provides a way to create JcsmpSessionService that use Basic Authentication.

See Also:
  • Constructor Details

    • BasicAuthJcsmpSessionServiceFactory

      public BasicAuthJcsmpSessionServiceFactory()
  • Method Details

    • host

      public abstract String host()
      The host name or IP address of the Solace broker. Format: Host[:Port]
    • username

      public abstract String username()
      The username to use for authentication.
    • password

      public abstract String password()
      The password to use for authentication.
    • vpnName

      public abstract String vpnName()
      The name of the VPN to connect to.
    • builder

    • create

      public SessionService create()
      Description copied from class: SessionServiceFactory
      This is the core method that subclasses must implement. It defines how to construct and return a SessionService object.
      Specified by:
      create in class SessionServiceFactory