use of io.openmessaging.exception.OMSRuntimeException in project rocketmq by apache.
the class PullConsumerImpl method startup.
@Override
public synchronized void startup() {
if (!started) {
try {
registerPullTaskCallback();
this.pullConsumerScheduleService.start();
this.localMessageCache.startup();
} catch (MQClientException e) {
throw new OMSRuntimeException("-1", e);
}
}
this.started = true;
}
use of io.openmessaging.exception.OMSRuntimeException in project rocketmq-rocketmq-all-4.1.0-incubating by lirenzuo.
the class PullConsumerImpl method startup.
@Override
public synchronized void startup() {
if (!started) {
try {
registerPullTaskCallback();
this.pullConsumerScheduleService.start();
this.localMessageCache.startup();
} catch (MQClientException e) {
throw new OMSRuntimeException("-1", e);
}
}
this.started = true;
}
Aggregations