Class MockTransportFactory
Factory class to create the MockTransport when given on a URI as mock://XXX
Inheritance
System.Object
MockTransportFactory
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()
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
[ActiveMQTransportFactory("mock")]
public class MockTransportFactory : ITransportFactory
Constructors
|
Improve this Doc
View Source
MockTransportFactory()
Declaration
public MockTransportFactory()
Properties
|
Improve this Doc
View Source
FailOnCreate
Declaration
public bool FailOnCreate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
FailOnReceiveMessage
Declaration
public bool FailOnReceiveMessage { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
FailOnSendMessage
Declaration
public bool FailOnSendMessage { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
NumMessagesToRespondTo
Declaration
public int NumMessagesToRespondTo { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NumReceivedMessagesBeforeFail
Declaration
public int NumReceivedMessagesBeforeFail { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NumSentMessagesBeforeFail
Declaration
public int NumSentMessagesBeforeFail { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RespondToMessages
Declaration
public bool RespondToMessages { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UseLogging
Declaration
public bool UseLogging { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
CompositeConnect(Uri)
Declaration
public ITransport CompositeConnect(Uri location)
Parameters
Type |
Name |
Description |
System.Uri |
location |
|
Returns
|
Improve this Doc
View Source
CreateTransport(Uri)
Declaration
public ITransport CreateTransport(Uri location)
Parameters
Type |
Name |
Description |
System.Uri |
location |
|
Returns
Implements