public class OrderProducerImpl extends ONSClientAbstract implements OrderProducer
nameServerAddr, namespaceId, namespaceV2, properties, provider, sessionCredentials, started, traceDispatcher, WSADDR_INTERNAL, WSADDR_INTERNAL_TIMEOUTMILLS, WSADDR_INTERNET, WSADDR_INTERNET_TIMEOUTMILLS| Constructor and Description |
|---|
OrderProducerImpl(Properties properties) |
OrderProducerImpl(Properties properties,
com.alibaba.rocketmq.client.retry.RetryStrategy retryStrategy) |
| Modifier and Type | Method and Description |
|---|---|
SendResult |
send(Message message,
String shardingKey) |
void |
shutdown() |
void |
start() |
protected void |
updateNameServerAddr(String newAddrs) |
buildIntanceName, checkONSProducerServiceState, executePostHandle, getNameServerAddr, getNamespace, isClosed, isStarted, preHandle, updateCredentialclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisClosed, isStarted, updateCredentialpublic OrderProducerImpl(Properties properties)
public OrderProducerImpl(Properties properties, com.alibaba.rocketmq.client.retry.RetryStrategy retryStrategy)
protected void updateNameServerAddr(String newAddrs)
updateNameServerAddr in class ONSClientAbstractpublic void start()
start in interface Adminstart in class ONSClientAbstractpublic void shutdown()
shutdown in interface Adminshutdown in class ONSClientAbstractpublic SendResult send(Message message, String shardingKey)
send in interface OrderProducerCopyright © 2012–2024. All rights reserved.