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
A factory for creating
JcsmpSessionService instances. Extends SessionServiceFactory.
This factory provides a way to create JcsmpSessionService that use Basic
Authentication.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()create()This is the core method that subclasses must implement.abstract Stringhost()The host name or IP address of the Solace broker.abstract Stringpassword()The password to use for authentication.abstract Stringusername()The username to use for authentication.abstract StringvpnName()The name of the VPN to connect to.Methods inherited from class org.apache.beam.sdk.io.solace.broker.SessionServiceFactory
equals, getQueue, getSubmissionMode, hashCode, setQueue, setSubmissionMode
-
Constructor Details
-
BasicAuthJcsmpSessionServiceFactory
public BasicAuthJcsmpSessionServiceFactory()
-
-
Method Details
-
host
The host name or IP address of the Solace broker. Format: Host[:Port] -
username
The username to use for authentication. -
password
The password to use for authentication. -
vpnName
The name of the VPN to connect to. -
builder
-
create
Description copied from class:SessionServiceFactoryThis is the core method that subclasses must implement. It defines how to construct and return a SessionService object.- Specified by:
createin classSessionServiceFactory
-