C# Class NServiceBus.Unicast.Transport.RabbitMQ.RabbitMqTransport

Inheritance: ITransport
Mostra file Open project: machine/machine.mta

Public Methods

Method Description
AbortHandlingCurrentMessage ( ) : void
ChangeNumberOfWorkerThreads ( Int32 targetNumberOfWorkerThreads ) : void
Dispose ( ) : void
GetNumberOfPendingMessages ( ) : Int32
ReceiveMessageLater ( TransportMessage transportMessage ) : void
Send ( TransportMessage transportMessage, string destination ) : void
Start ( ) : void

Private Methods

Method Description
AddWorkerThread ( ) : NServiceBus.Utils.WorkerThread
ClearFailuresForMessage ( string id ) : void
DeliverMessage ( IModel channel, MessageReceiveProperties messageContext, RabbitMQ.Client.Events.BasicDeliverEventArgs delivery ) : void
HandledMaximumRetries ( string id ) : bool
IncrementFailuresForMessage ( string id ) : void
MoveToPoison ( RabbitMQ.Client.Events.BasicDeliverEventArgs delivery ) : void
OnFailedMessageProcessing ( Exception error ) : Exception
OnFinishedMessageProcessing ( ) : Exception
OnStartedMessageProcessing ( ) : Exception
OnTransportMessageReceived ( TransportMessage msg ) : Exception
Process ( ) : void
Receive ( MessageReceiveProperties messageContext ) : void

Method Details

AbortHandlingCurrentMessage() public method

public AbortHandlingCurrentMessage ( ) : void
return void

ChangeNumberOfWorkerThreads() public method

public ChangeNumberOfWorkerThreads ( Int32 targetNumberOfWorkerThreads ) : void
targetNumberOfWorkerThreads System.Int32
return void

Dispose() public method

public Dispose ( ) : void
return void

GetNumberOfPendingMessages() public method

public GetNumberOfPendingMessages ( ) : Int32
return System.Int32

ReceiveMessageLater() public method

public ReceiveMessageLater ( TransportMessage transportMessage ) : void
transportMessage TransportMessage
return void

Send() public method

public Send ( TransportMessage transportMessage, string destination ) : void
transportMessage TransportMessage
destination string
return void

Start() public method

public Start ( ) : void
return void