471472473474475476477478479480481
_failoverPolicy.getCurrentBrokerDetails().toString(), connectionException); } } throw new AMQConnectionFailureException(message, connectionException); } if (_logger.isDebugEnabled()) { _logger.debug("Connected with ProtocolHandler Version:"+_protocolHandler.getProtocolVersion());
455456457458459460461462463464465
439440441442443444445446447448449
467468469470471472473474475476477
_failoverPolicy.getCurrentBrokerDetails().toString(), connectionException); } } throw new AMQConnectionFailureException(message, connectionException); } _logger.info("Connected with ProtocolHandler Version:"+_protocolHandler.getProtocolVersion()); _sessions.setMaxChannelID(_delegate.getMaxChannelID());
470471472473474475476477478479480
587588589590591592593594595596
_failoverPolicy.getCurrentBrokerDetails().toString(), connectionException); } } throw new AMQConnectionFailureException(message, connectionException); } _connectionMetaData = new QpidConnectionMetaData(this); }
488489490491492493494495496497
341342343344345346347348349350351352353354355356357358359360
{ message = "Unable to Connect:" + lastException.getClass(); } } AMQException e = new AMQConnectionFailureException(message); if (lastException != null) { if (lastException instanceof UnresolvedAddressException) { e = new AMQUnresolvedAddressException(message, _failoverPolicy.getCurrentBrokerDetails().toString()); } e.initCause(lastException); } throw e; }
489490491492493494495496497498