C# Class ServiceConnect.Client.RabbitMQ.Producer

Inheritance: IProducer
Mostrar archivo Open project: R-Suite/ServiceConnect-CSharp

Public Methods

Method Description
Disconnect ( ) : void
Dispose ( ) : void
Producer ( ITransportSettings transportSettings, IDictionary queueMappings ) : System
Publish ( Type type, byte message, string>.Dictionary headers = null ) : void
Send ( Type type, byte message, string>.Dictionary headers = null ) : void
Send ( string endPoint, Type type, byte message, string>.Dictionary headers = null ) : void
SendBytes ( string endPoint, byte packet, string>.Dictionary headers ) : void

Private Methods

Method Description
ConfigureExchange ( string exchangeName, string type ) : string
CreateConnection ( ) : void
DoPublish ( Type type, byte message, string>.Dictionary headers ) : void
GetHeaders ( Type type, string>.Dictionary headers, string queueName, string messageType ) : object>.Dictionary
RetryConnection ( ) : void

Method Details

Disconnect() public method

public Disconnect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Producer() public method

public Producer ( ITransportSettings transportSettings, IDictionary queueMappings ) : System
transportSettings ITransportSettings
queueMappings IDictionary
return System

Publish() public method

public Publish ( Type type, byte message, string>.Dictionary headers = null ) : void
type System.Type
message byte
headers string>.Dictionary
return void

Send() public method

public Send ( Type type, byte message, string>.Dictionary headers = null ) : void
type System.Type
message byte
headers string>.Dictionary
return void

Send() public method

public Send ( string endPoint, Type type, byte message, string>.Dictionary headers = null ) : void
endPoint string
type System.Type
message byte
headers string>.Dictionary
return void

SendBytes() public method

public SendBytes ( string endPoint, byte packet, string>.Dictionary headers ) : void
endPoint string
packet byte
headers string>.Dictionary
return void