C# Class Wave.Transports.MSMQ.MSMQTransport

Inheritance: ITransport, IDisposable
显示文件 Open project: WaveServiceBus/WaveServiceBus

Public Methods

Method Description
Dispose ( ) : void
GetDelayMessages ( System token, Action onMessageReceived ) : void
GetMessages ( System token, Action onMessageReceived ) : void
InitializeForConsuming ( ) : void
InitializeForPublishing ( ) : void
MSMQTransport ( IConfigurationContext configuration ) : System
RegisterSubscription ( string subscription ) : void
Send ( string subscription, RawMessage message ) : void
Send ( string subscription, object message ) : void
SendToDelay ( RawMessage message ) : void
SendToError ( RawMessage message ) : void
SendToPrimary ( RawMessage message ) : void
Shutdown ( ) : void

Private Methods

Method Description
GetMessages ( System.Messaging.MessageQueue queue, CancellationToken token, Action onMessageReceived ) : void
GetQueue ( string queueName, bool transactional ) : System.Messaging.MessageQueue
MSMQTransport ( string baseQueueName, IConfigurationContext configuration ) : System
MergeConfiguration ( IConfigurationContext context ) : IConfigurationContext

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetDelayMessages() public method

public GetDelayMessages ( System token, Action onMessageReceived ) : void
token System
onMessageReceived Action
return void

GetMessages() public method

public GetMessages ( System token, Action onMessageReceived ) : void
token System
onMessageReceived Action
return void

InitializeForConsuming() public method

public InitializeForConsuming ( ) : void
return void

InitializeForPublishing() public method

public InitializeForPublishing ( ) : void
return void

MSMQTransport() public method

public MSMQTransport ( IConfigurationContext configuration ) : System
configuration IConfigurationContext
return System

RegisterSubscription() public method

public RegisterSubscription ( string subscription ) : void
subscription string
return void

Send() public method

public Send ( string subscription, RawMessage message ) : void
subscription string
message RawMessage
return void

Send() public method

public Send ( string subscription, object message ) : void
subscription string
message object
return void

SendToDelay() public method

public SendToDelay ( RawMessage message ) : void
message RawMessage
return void

SendToError() public method

public SendToError ( RawMessage message ) : void
message RawMessage
return void

SendToPrimary() public method

public SendToPrimary ( RawMessage message ) : void
message RawMessage
return void

Shutdown() public method

public Shutdown ( ) : void
return void