Class AbstractKafkaChannelSpec<S extends AbstractKafkaChannelSpec<S,C>, C extends AbstractKafkaChannel>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.dsl.MessageChannelSpec<S,C>
org.springframework.integration.kafka.dsl.AbstractKafkaChannelSpec<S,C>
- Type Parameters:
S- the spec type.C- the channel type.
- All Implemented Interfaces:
DisposableBean,FactoryBean<C>,InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
- Direct Known Subclasses:
KafkaPollableChannelSpec,KafkaSubscribableChannelSpec
public abstract class AbstractKafkaChannelSpec<S extends AbstractKafkaChannelSpec<S,C>, C extends AbstractKafkaChannel>
extends MessageChannelSpec<S,C>
Spec for a message channel backed by an Apache Kafka topic.
- Since:
- 5.4
- Author:
- Gary Russell
-
Field Summary
FieldsFields inherited from class org.springframework.integration.dsl.MessageChannelSpec
channelFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.integration.dsl.MessageChannelSpec
datatype, doGet, getComponentsToRegister, interceptor, messageConverter, wireTap, wireTap, wireTapMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Field Details
-
groupId
-
-
Constructor Details
-
AbstractKafkaChannelSpec
public AbstractKafkaChannelSpec()
-
-
Method Details
-
id
Description copied from class:IntegrationComponentSpecConfigure the component identifier. Used as thebeanNameto register the bean in the application context for this component.- Overrides:
idin classIntegrationComponentSpec<S extends AbstractKafkaChannelSpec<S,C>, C extends AbstractKafkaChannel> - Parameters:
idToSet- the id.- Returns:
- the spec.
-
groupId
-