Class KafkaOutboundGatewaySpec.ReplyingKafkaTemplateSpec<K,V,R>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<KafkaTemplateSpec<K,V>,org.springframework.kafka.core.KafkaTemplate<K,V>>
org.springframework.integration.kafka.dsl.KafkaTemplateSpec<K,V>
org.springframework.integration.kafka.dsl.KafkaOutboundGatewaySpec.ReplyingKafkaTemplateSpec<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<org.springframework.kafka.core.KafkaTemplate<K,V>>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
- Enclosing class:
- KafkaOutboundGatewaySpec<K,V,R,S extends KafkaOutboundGatewaySpec<K,V,R,S>>
public static class KafkaOutboundGatewaySpec.ReplyingKafkaTemplateSpec<K,V,R> extends KafkaTemplateSpec<K,V>
An
IntegrationComponentSpec
implementation for the KafkaTemplate
.-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Method Summary
Modifier and Type Method Description KafkaOutboundGatewaySpec.ReplyingKafkaTemplateSpec<K,V,R>
defaultReplyTimeout(Duration replyTimeout)
Default reply timeout.KafkaOutboundGatewaySpec.ReplyingKafkaTemplateSpec<K,V,R>
taskScheduler(TaskScheduler scheduler)
Methods inherited from class org.springframework.integration.kafka.dsl.KafkaTemplateSpec
defaultTopic, getTemplate, id, messageConverter, producerListener
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Method Details
-
taskScheduler
public KafkaOutboundGatewaySpec.ReplyingKafkaTemplateSpec<K,V,R> taskScheduler(TaskScheduler scheduler) -
defaultReplyTimeout
public KafkaOutboundGatewaySpec.ReplyingKafkaTemplateSpec<K,V,R> defaultReplyTimeout(Duration replyTimeout)Default reply timeout.- Parameters:
replyTimeout
- the timeout.- Returns:
- the spec.
-