Class FailoverTransportFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Apache.NMS.ActiveMQ.Transport.Failover
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
[ActiveMQTransportFactory("failover")]
public class FailoverTransportFactory : ITransportFactory
Methods
| Improve this Doc View SourceCompositeConnect(Uri)
Declaration
public ITransport CompositeConnect(Uri location)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | location |
Returns
Type | Description |
---|---|
ITransport |
CreateTransport(URISupport.CompositeData)
Virtual transport create method which can be overriden by subclasses to provide an alternate FailoverTransport implementation. All transport creation methods in this factory calls through this method to create the ITransport instance so this is the only method that needs to be overriden.
Declaration
public virtual ITransport CreateTransport(URISupport.CompositeData compositData)
Parameters
Type | Name | Description |
---|---|---|
Apache.NMS.Util.URISupport.CompositeData | compositData |
Returns
Type | Description |
---|---|
ITransport |
CreateTransport(StringDictionary)
Declaration
protected FailoverTransport CreateTransport(StringDictionary parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Specialized.StringDictionary | parameters |
Returns
Type | Description |
---|---|
FailoverTransport |
CreateTransport(Uri)
Declaration
public ITransport CreateTransport(Uri location)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | location |
Returns
Type | Description |
---|---|
ITransport |