public class PublishSubscribeKafkaChannel extends SubscribableKafkaChannel implements BroadcastCapableChannel
AbstractMessageChannel.ChannelInterceptorList
IntegrationManagement.ManagementOverrides
topic
interceptors, meters
EXPRESSION_PARSER, logger
INDEFINITE_TIMEOUT
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
Constructor and Description |
---|
PublishSubscribeKafkaChannel(org.springframework.kafka.core.KafkaOperations<?,?> template,
org.springframework.kafka.config.KafkaListenerContainerFactory<?> factory,
String channelTopic)
Construct an instance with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected MessageDispatcher |
createDispatcher() |
getPhase, isAutoStartup, isRunning, onInit, setAutoStartup, setPhase, start, stop, stop, subscribe, unsubscribe
doSend, getGroupId, setGroupId
addInterceptor, addInterceptor, destroy, getComponentType, getFullChannelName, getIChannelInterceptorList, getIntegrationPatternType, getInterceptors, getMetricsCaptor, getOverrides, isLoggingEnabled, registerMetricsCaptor, removeInterceptor, removeInterceptor, send, send, setDatatypes, setInterceptors, setLoggingEnabled, setMessageConverter, setShouldTrack
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isBroadcast
subscribe, unsubscribe
send, send
getManagedName, getManagedType, getThisAs, setManagedName, setManagedType
getBeanName, getComponentName
public PublishSubscribeKafkaChannel(org.springframework.kafka.core.KafkaOperations<?,?> template, org.springframework.kafka.config.KafkaListenerContainerFactory<?> factory, String channelTopic)
template
- template for sending.factory
- factory for creating a container for receiving.channelTopic
- the topic.protected MessageDispatcher createDispatcher()
createDispatcher
in class SubscribableKafkaChannel