@Override protected void postPollCheck() { if (log.isTraceEnabled()) { log.trace("postPollCheck on " + getEndpoint().getConfiguration().remoteServerInformation()); } if (getEndpoint().isDisconnect()) { log.trace("postPollCheck disconnect from: {}", getEndpoint()); disconnect(); } }
@Override protected void doStop() throws Exception { super.doStop(); disconnect(); }