C# Class Paralect.ServiceBus.Msmq.MsmqTransportEndpoint

Inheritance: ITransportEndpoint
Exibir arquivo Open project: paralect/Paralect.ServiceBus

Public Methods

Method Description
Dispose ( ) : void
MsmqTransportEndpoint ( TransportEndpointAddress name, System.Messaging.MessageQueue messageQueue, MsmqTransport transport ) : System

Initializes a new instance of the T:System.Object class.

Purge ( ) : void

Delete all message in the queue

Receive ( System.TimeSpan timeout ) : TransportMessage

Blocking call

Send ( TransportMessage message ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MsmqTransportEndpoint() public method

Initializes a new instance of the T:System.Object class.
public MsmqTransportEndpoint ( TransportEndpointAddress name, System.Messaging.MessageQueue messageQueue, MsmqTransport transport ) : System
name TransportEndpointAddress
messageQueue System.Messaging.MessageQueue
transport MsmqTransport
return System

Purge() public method

Delete all message in the queue
public Purge ( ) : void
return void

Receive() public method

Blocking call
public Receive ( System.TimeSpan timeout ) : TransportMessage
timeout System.TimeSpan
return TransportMessage

Send() public method

public Send ( TransportMessage message ) : void
message TransportMessage
return void