public class FailoverHandler extends Object implements Runnable
AMQProtocolHandler
, a protocol connection can span many physical transport
connections, failing over to a new connection if the transport connection fails. The procedure to establish a new
connection is expressed as a continuation, in order that it may be run in a seperate thread to the i/o thread that
detected the failure and is used to handle the communication to establish a new connection.Constructor and Description |
---|
FailoverHandler(AMQProtocolHandler amqProtocolHandler) |
public FailoverHandler(AMQProtocolHandler amqProtocolHandler)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.