@Generated(value="ons-client") public class BatchConsumerImpl extends ONSConsumerAbstract implements BatchConsumer
defaultMQPushConsumer, interceptorsnameServerAddr, namespaceId, namespaceV2, properties, provider, sessionCredentials, started, traceDispatcher, WSADDR_INTERNAL, WSADDR_INTERNAL_TIMEOUTMILLS, WSADDR_INTERNET, WSADDR_INTERNET_TIMEOUTMILLS| Constructor and Description |
|---|
BatchConsumerImpl(Properties properties) |
BatchConsumerImpl(Properties properties,
com.alibaba.rocketmq.client.retry.RetryStrategy retryStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
void |
subscribe(String topic,
String subExpression,
BatchMessageListener listener) |
void |
unsubscribe(String topic) |
action2Status, getAllocateMessageQueueStrategy, orderAction2Status, shutdown, subscribe, subscribe, updateNameServerAddrbuildIntanceName, checkONSProducerServiceState, executePostHandle, getNameServerAddr, getNamespace, isClosed, isStarted, preHandle, updateCredentialclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisClosed, isStarted, shutdown, updateCredentialpublic BatchConsumerImpl(Properties properties)
public BatchConsumerImpl(Properties properties, com.alibaba.rocketmq.client.retry.RetryStrategy retryStrategy)
public void start()
start in interface Adminstart in class ONSConsumerAbstractpublic void subscribe(String topic, String subExpression, BatchMessageListener listener)
subscribe in interface BatchConsumerpublic void unsubscribe(String topic)
unsubscribe in interface BatchConsumerunsubscribe in class ONSConsumerAbstractCopyright © 2012–2024. All rights reserved.