C# Class Apache.NMS.Test.AsyncConsumeTest

Inheritance: NMSTestSupport
Datei anzeigen Open project: ThorTech/apache-nms

Protected Properties

Property Type Description
DESTINATION_NAME string
RESPONSE_CLIENT_ID string
received bool
receivedMsg IMessage
semaphore System.Threading.AutoResetEvent

Protected Methods

Method Description
OnMessage ( IMessage message ) : void
OnQueueMessage ( IMessage message ) : void
WaitForMessageToArrive ( ) : void

Private Methods

Method Description
SetUp ( ) : void
TearDown ( ) : void
TestAsynchronousConsume ( [ deliveryMode ) : void
TestAsynchronousTextMessageConsume ( [ deliveryMode ) : void
TestCreateConsumerAfterSend ( [ deliveryMode ) : void
TestCreateConsumerBeforeSendAddListenerAfterSend ( [ deliveryMode ) : void
TestTemporaryQueueAsynchronousConsume ( [ deliveryMode ) : void

Method Details

OnMessage() protected method

protected OnMessage ( IMessage message ) : void
message IMessage
return void

OnQueueMessage() protected method

protected OnQueueMessage ( IMessage message ) : void
message IMessage
return void

WaitForMessageToArrive() protected method

protected WaitForMessageToArrive ( ) : void
return void

Property Details

DESTINATION_NAME protected_oe static_oe property

protected static string DESTINATION_NAME
return string

RESPONSE_CLIENT_ID protected_oe property

protected string RESPONSE_CLIENT_ID
return string

received protected_oe property

protected bool received
return bool

receivedMsg protected_oe property

protected IMessage receivedMsg
return IMessage

semaphore protected_oe property

protected AutoResetEvent,System.Threading semaphore
return System.Threading.AutoResetEvent