Class KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,G>
org.springframework.integration.dsl.MessagingGatewaySpec<S,KafkaInboundGateway<K,V,R>>
org.springframework.integration.kafka.dsl.KafkaInboundGatewaySpec<K,V,R,KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>>
org.springframework.integration.kafka.dsl.KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>
- Type Parameters:
K- the key type.V- the request value type.R- the reply value type.
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<KafkaInboundGateway<K,V,R>>,InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
- Enclosing class:
- KafkaInboundGatewaySpec<K,V,R,S extends KafkaInboundGatewaySpec<K,V,R,S>>
public static class KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R> extends KafkaInboundGatewaySpec<K,V,R,KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>>
A
ConcurrentMessageListenerContainer
configuration KafkaInboundGatewaySpec extension.-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.integration.kafka.dsl.KafkaInboundGatewaySpec
KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R> -
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Method Summary
Modifier and Type Method Description KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>configureListenerContainer(Consumer<KafkaMessageListenerContainerSpec<K,V>> configurer)Configure a listener container by invoking theConsumercallback, with aKafkaMessageListenerContainerSpecargument.KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>configureTemplate(Consumer<KafkaTemplateSpec<K,R>> configurer)Configure a template by invoking theConsumercallback, with aKafkaTemplateSpecargument.Map<Object,String>getComponentsToRegister()Methods inherited from class org.springframework.integration.kafka.dsl.KafkaInboundGatewaySpec
messageConverter, onPartitionsAssignedSeekCallback, recoveryCallback, retryTemplateMethods inherited from class org.springframework.integration.dsl.MessagingGatewaySpec
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrackMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Method Details
-
configureListenerContainer
public KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R> configureListenerContainer(Consumer<KafkaMessageListenerContainerSpec<K,V>> configurer)Configure a listener container by invoking theConsumercallback, with aKafkaMessageListenerContainerSpecargument.- Parameters:
configurer- the configurer Java 8 Lambda.- Returns:
- the spec.
-
configureTemplate
public KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R> configureTemplate(Consumer<KafkaTemplateSpec<K,R>> configurer)Configure a template by invoking theConsumercallback, with aKafkaTemplateSpecargument.- Parameters:
configurer- the configurer Java 8 Lambda.- Returns:
- the spec.
-
getComponentsToRegister
- Specified by:
getComponentsToRegisterin interfaceComponentsRegistration- Overrides:
getComponentsToRegisterin classKafkaInboundGatewaySpec<K,V,R,KafkaInboundGatewaySpec.KafkaInboundGatewayListenerContainerSpec<K,V,R>>
-