public class RocketMQProducerMessageHandler
extends org.springframework.integration.handler.AbstractMessageHandler
implements org.springframework.context.Lifecycle
EXPRESSION_PARSER, logger| Constructor and Description |
|---|
RocketMQProducerMessageHandler(org.springframework.cloud.stream.provisioning.ProducerDestination destination,
org.springframework.cloud.stream.binder.ExtendedProducerProperties<RocketMQProducerProperties> extendedProducerProperties,
RocketMQProducerProperties mqProducerProperties) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.integration.support.ErrorMessageStrategy |
getErrorMessageStrategy() |
org.springframework.cloud.stream.binding.MessageConverterConfigurer.PartitioningInterceptor |
getPartitioningInterceptor() |
org.springframework.messaging.MessageChannel |
getSendFailureChannel() |
protected void |
handleMessageInternal(org.springframework.messaging.Message<?> message) |
boolean |
isRunning() |
protected void |
onInit() |
void |
setErrorMessageStrategy(org.springframework.integration.support.ErrorMessageStrategy errorMessageStrategy) |
RocketMQProducerMessageHandler |
setPartitioningInterceptor(org.springframework.cloud.stream.binding.MessageConverterConfigurer.PartitioningInterceptor partitioningInterceptor) |
void |
setSendFailureChannel(org.springframework.messaging.MessageChannel sendFailureChannel) |
void |
start() |
void |
stop() |
handleMessage, onComplete, onError, onNext, onSubscribebuildSendTimer, destroy, getComponentType, getIntegrationPatternType, getManagedName, getManagedType, getMetricsCaptor, getOrder, getOverrides, isLoggingEnabled, registerMetricsCaptor, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrackafterPropertiesSet, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic RocketMQProducerMessageHandler(org.springframework.cloud.stream.provisioning.ProducerDestination destination,
org.springframework.cloud.stream.binder.ExtendedProducerProperties<RocketMQProducerProperties> extendedProducerProperties,
RocketMQProducerProperties mqProducerProperties)
protected void onInit()
onInit in class org.springframework.integration.context.IntegrationObjectSupportpublic void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecycleprotected void handleMessageInternal(org.springframework.messaging.Message<?> message)
handleMessageInternal in class org.springframework.integration.handler.AbstractMessageHandlerpublic org.springframework.messaging.MessageChannel getSendFailureChannel()
public void setSendFailureChannel(org.springframework.messaging.MessageChannel sendFailureChannel)
public org.springframework.integration.support.ErrorMessageStrategy getErrorMessageStrategy()
public void setErrorMessageStrategy(org.springframework.integration.support.ErrorMessageStrategy errorMessageStrategy)
public org.springframework.cloud.stream.binding.MessageConverterConfigurer.PartitioningInterceptor getPartitioningInterceptor()
public RocketMQProducerMessageHandler setPartitioningInterceptor(org.springframework.cloud.stream.binding.MessageConverterConfigurer.PartitioningInterceptor partitioningInterceptor)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.