Interface MessagingChannelConfig
- All Superinterfaces:
Prototype.Api
- All Known Subinterfaces:
MessagingIncomingConfig, MessagingOutgoingConfig
- All Known Implementing Classes:
MessagingChannelConfig.BuilderBase.MessagingChannelConfigImpl, MessagingIncomingConfig.BuilderBase.MessagingIncomingConfigImpl, MessagingOutgoingConfig.BuilderBase.MessagingOutgoingConfigImpl
Common configuration of an incoming or outgoing messaging channel connection.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forMessagingChannelConfig.static classMessagingChannelConfig.BuilderBase<BUILDER extends MessagingChannelConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingChannelConfig>Fluent API builder base forMessagingChannelConfig. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(MessagingChannelConfig instance) Create a new fluent API builder from an existing instance.Logical messaging channel name.config()Original channel configuration node, including connector-specific options.Name of the configured connector instance used by this channel connection.static MessagingChannelConfigCreate a new instance from configuration.Execution overrides for this channel.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
connector
String connector()Name of the configured connector instance used by this channel connection.- Returns:
- connector instance name
-
channelName
String channelName()Logical messaging channel name. Configuration-based channels derive this name from their map entry. Programmatic channel configurations supply the name explicitly.- Returns:
- logical channel name
-
execution
MessagingExecutionConfig execution()Execution overrides for this channel. Values not configured inherit the messaging defaults.- Returns:
- channel execution overrides
-
config
-