public class RocketMQInboundChannelAdapter
extends org.springframework.integration.endpoint.MessageProducerSupport
implements org.springframework.integration.context.OrderlyShutdownCapable
Methods inherited from interface org.springframework.integration.support.context.NamedComponent
getBeanName, getComponentName, getComponentType
Constructor Detail
RocketMQInboundChannelAdapter
public RocketMQInboundChannelAdapter(String topic,
org.springframework.cloud.stream.binder.ExtendedConsumerProperties<RocketMQConsumerProperties> extendedConsumerProperties)
Method Detail
onInit
protected void onInit()
Overrides:
onInit in class org.springframework.integration.endpoint.MessageProducerSupport
doStart
protected void doStart()
Overrides:
doStart in class org.springframework.integration.endpoint.MessageProducerSupport
doStop
protected void doStop()
Overrides:
doStop in class org.springframework.integration.endpoint.MessageProducerSupport
setRetryTemplate
public void setRetryTemplate(org.springframework.retry.support.RetryTemplate retryTemplate)
setRecoveryCallback
public void setRecoveryCallback(org.springframework.retry.RecoveryCallback<Object> recoveryCallback)
beforeShutdown
public int beforeShutdown()
Specified by:
beforeShutdown in interface org.springframework.integration.context.OrderlyShutdownCapable
afterShutdown
public int afterShutdown()
Specified by:
afterShutdown in interface org.springframework.integration.context.OrderlyShutdownCapable