org.apache.qpid.jms.failover
Class NoFailover
java.lang.Object
org.apache.qpid.jms.failover.FailoverSingleServer
org.apache.qpid.jms.failover.NoFailover
- All Implemented Interfaces:
- FailoverMethod
public class NoFailover
- extends FailoverSingleServer
Extend the Single Server Model to gain retry functionality but once connected do not attempt to failover.
NoFailover
public NoFailover(BrokerDetails brokerDetail)
NoFailover
public NoFailover(ConnectionURL connectionDetails)
attainedConnection
public void attainedConnection()
- Description copied from interface:
FailoverMethod
- Notification to the Failover method that a connection has been attained.
- Specified by:
attainedConnection
in interface FailoverMethod
- Overrides:
attainedConnection
in class FailoverSingleServer
methodName
public String methodName()
- Specified by:
methodName
in interface FailoverMethod
- Overrides:
methodName
in class FailoverSingleServer
- Returns:
- The name of this method for display purposes.
toString
public String toString()
- Overrides:
toString
in class FailoverSingleServer
Licensed to the Apache Software Foundation