@Override protected void initService() throws CoreException { super.initService(); if (connection == null) throw new CoreException("Null Connection"); if (consumer == null) throw new CoreException("Consumer is null"); LifecycleHelper.init(connection); }
@Override public void stop() { super.stop(); LifecycleHelper.stop(connection); }
@Override public void start() throws CoreException { super.start(); LifecycleHelper.start(connection); }