protected void handleStop(ServiceStopper stopper) throws Exception { super.handleStop(stopper); if (bridge != null) { try { bridge.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (remoteTransport != null) { try { remoteTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (localTransport != null) { try { localTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } }
} else if (command.isShutdownInfo()) { LOG.info("{} Shutting down {}", configuration.getBrokerName(), configuration.getName()); stop(); } else if (command.getClass() == ConnectionError.class) { ConnectionError ce = (ConnectionError) command;
protected void handleStop(ServiceStopper stopper) throws Exception { super.handleStop(stopper); if (bridge != null) { try { bridge.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (remoteTransport != null) { try { remoteTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (localTransport != null) { try { localTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } }
protected void handleStop(ServiceStopper stopper) throws Exception { super.handleStop(stopper); if (bridge != null) { try { bridge.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (remoteTransport != null) { try { remoteTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (localTransport != null) { try { localTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } }
protected void handleStop(ServiceStopper stopper) throws Exception { super.handleStop(stopper); if (bridge != null) { try { bridge.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (remoteTransport != null) { try { remoteTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (localTransport != null) { try { localTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } }
protected void handleStop(ServiceStopper stopper) throws Exception { super.handleStop(stopper); if (bridge != null) { try { bridge.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (remoteTransport != null) { try { remoteTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } if (localTransport != null) { try { localTransport.stop(); } catch (Exception e) { stopper.onException(this, e); } } }
} else if (command.isShutdownInfo()) { LOG.info("{} Shutting down {}", configuration.getBrokerName(), configuration.getName()); stop(); } else if (command.getClass() == ConnectionError.class) { ConnectionError ce = (ConnectionError) command;
} else if (command.isShutdownInfo()) { LOG.info("{} Shutting down {}", configuration.getBrokerName(), configuration.getName()); stop(); } else if (command.getClass() == ConnectionError.class) { ConnectionError ce = (ConnectionError) command;
} else if (command.isShutdownInfo()) { LOG.info("{} Shutting down {}", configuration.getBrokerName(), configuration.getName()); stop(); } else if (command.getClass() == ConnectionError.class) { ConnectionError ce = (ConnectionError) command;