public class BatchConsumerImpl extends ONSConsumerAbstract implements BatchConsumer
nameServerAddr, properties, sessionCredentials, started, traceDispatcher, WSADDR_INTERNAL, WSADDR_INTERNAL_TIMEOUTMILLS, WSADDR_INTERNET, WSADDR_INTERNET_TIMEOUTMILLS| Constructor and Description |
|---|
BatchConsumerImpl(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
void |
subscribe(String topic,
String subExpression,
BatchMessageListener listener) |
void |
unsubscribe(String topic) |
shutdown, updateNameServerAddrbuildIntanceName, checkONSProducerServiceState, getNameServerAddr, isClosed, isStartedpublic BatchConsumerImpl(Properties properties)
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 BatchConsumerCopyright © 2012–2018. All rights reserved.