K
- the key type.V
- the value type.public static class KafkaProducerMessageHandlerSpec.KafkaProducerMessageHandlerTemplateSpec<K,V> extends KafkaProducerMessageHandlerSpec<K,V,KafkaProducerMessageHandlerSpec.KafkaProducerMessageHandlerTemplateSpec<K,V>> implements ComponentsRegistration
KafkaTemplate
-based KafkaProducerMessageHandlerSpec
extension.KafkaProducerMessageHandlerSpec.KafkaProducerMessageHandlerTemplateSpec<K,V>
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier and Type | Method and Description |
---|---|
KafkaProducerMessageHandlerSpec.KafkaProducerMessageHandlerTemplateSpec<K,V> |
configureKafkaTemplate(java.util.function.Consumer<KafkaTemplateSpec<K,V>> configurer)
Configure a Kafka Template by invoking the
Consumer callback, with a
KafkaTemplateSpec argument. |
Map<Object,String> |
getComponentsToRegister() |
flush, flushExpression, flushExpression, futuresChannel, futuresChannel, headerMapper, messageKey, messageKey, messageKeyExpression, messageKeyExpression, partitionId, partitionId, partitionIdExpression, partitionIdExpression, sendFailureChannel, sendFailureChannel, sendSuccessChannel, sendSuccessChannel, sendTimeout, sync, timestamp, timestampExpression, timestampExpression, topic, topic, topicExpression, topicExpression
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
public KafkaProducerMessageHandlerSpec.KafkaProducerMessageHandlerTemplateSpec<K,V> configureKafkaTemplate(java.util.function.Consumer<KafkaTemplateSpec<K,V>> configurer)
Consumer
callback, with a
KafkaTemplateSpec
argument.configurer
- the configurer Java 8 Lambda.public Map<Object,String> getComponentsToRegister()
getComponentsToRegister
in interface ComponentsRegistration