Class TransportFactory
Inheritance
System.Object
TransportFactory
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
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
public class TransportFactory
Methods
| Improve this Doc View SourceCompositeConnect(Uri)
Declaration
public static ITransport CompositeConnect(Uri location)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | location |
Returns
Type | Description |
---|---|
ITransport |
CreateTransport(Uri)
Creates a normal transport.
Declaration
public static ITransport CreateTransport(Uri location)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | location |
Returns
Type | Description |
---|---|
ITransport | the transport |
HandleException(Exception)
Declaration
public static void HandleException(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | ex |
RegisterTransportFactory(String, Type)
Declaration
public void RegisterTransportFactory(string scheme, Type factoryType)
Parameters
Type | Name | Description |
---|---|---|
System.String | scheme | |
System.Type | factoryType |
Events
| Improve this Doc View SourceOnException
Declaration
public static event ExceptionListener OnException
Event Type
Type | Description |
---|---|
Apache.NMS.ExceptionListener |