public class RocketMQProducerProperties extends RocketMQCommonProperties
| Modifier and Type | Class and Description |
|---|---|
static class |
RocketMQProducerProperties.ProducerType |
static class |
RocketMQProducerProperties.SendType |
| Constructor and Description |
|---|
RocketMQProducerProperties() |
getAccessChannel, getAccessKey, getCustomizedTraceTopic, getEnabled, getEnableMsgTrace, getGroup, getHeartbeatBrokerInterval, getNameServer, getNamespace, getPersistConsumerOffsetInterval, getPollNameServerInterval, getSecretKey, getUnitName, getUseTLS, getVipChannelEnabled, setAccessChannel, setAccessKey, setCustomizedTraceTopic, setEnabled, setEnableMsgTrace, setGroup, setHeartbeatBrokerInterval, setNameServer, setNamespace, setPersistConsumerOffsetInterval, setPollNameServerInterval, setSecretKey, setUnitName, setUseTLS, setVipChannelEnabledpublic int getSendMsgTimeout()
public void setSendMsgTimeout(int sendMsgTimeout)
public int getCompressMsgBodyThreshold()
public void setCompressMsgBodyThreshold(int compressMsgBodyThreshold)
public int getRetryTimesWhenSendFailed()
public void setRetryTimesWhenSendFailed(int retryTimesWhenSendFailed)
public int getRetryTimesWhenSendAsyncFailed()
public void setRetryTimesWhenSendAsyncFailed(int retryTimesWhenSendAsyncFailed)
public boolean getRetryAnotherBroker()
public void setRetryAnotherBroker(boolean retryAnotherBroker)
public int getMaxMessageSize()
public void setMaxMessageSize(int maxMessageSize)
public String getProducerType()
public void setProducerType(String producerType)
public String getSendType()
public void setSendType(String sendType)
public String getSendCallBack()
public void setSendCallBack(String sendCallBack)
public String getTransactionListener()
public void setTransactionListener(String transactionListener)
public String getMessageQueueSelector()
public void setMessageQueueSelector(String messageQueueSelector)
public String getErrorMessageStrategy()
public void setErrorMessageStrategy(String errorMessageStrategy)
public String getSendFailureChannel()
public void setSendFailureChannel(String sendFailureChannel)
public String getCheckForbiddenHook()
public void setCheckForbiddenHook(String checkForbiddenHook)
public String getSendMessageHook()
public void setSendMessageHook(String sendMessageHook)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.