Package org.apache.beam.sdk.io.jms
Class ConnectionConfiguration
java.lang.Object
org.apache.beam.sdk.io.jms.ConnectionConfiguration
- All Implemented Interfaces:
Serializable
@DefaultSchema(AutoValueSchema.class)
public abstract class ConnectionConfiguration
extends Object
implements Serializable
A POJO describing a JMS connection, used by SchemaTransformProvider.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classABeamGenericJmsConnectionFactoryimplementation for IBM MQ.static classABeamGenericJmsConnectionFactoryimplementation for standard JMS connection factories. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static ConnectionConfigurationstatic ConnectionConfigurationjavax.jms.ConnectionFactoryabstract StringwithConnectionFactoryClassName(String connectionFactoryClassName) withPassword(String password) withUsername(String username)
-
Constructor Details
-
ConnectionConfiguration
public ConnectionConfiguration()
-
-
Method Details
-
builder
-
create
public static ConnectionConfiguration create(String serverUri, @Nullable String connectionFactoryClassName) -
create
-
getServerUri
-
getConnectionFactoryClassName
@SchemaFieldDescription("The JMS ConnectionFactory class name.") public abstract @Nullable String getConnectionFactoryClassName() -
getUsername
@SchemaFieldDescription("The username to connect to the JMS broker.") public abstract @Nullable String getUsername() -
getPassword
@SchemaFieldDescription("The password to connect to the JMS broker.") public abstract @Nullable String getPassword() -
withUsername
-
withPassword
-
withConnectionFactoryClassName
-
createConnectionFactory
public javax.jms.ConnectionFactory createConnectionFactory()
-