Skip to content

Latest commit

 

History

History
108 lines (71 loc) · 6.2 KB

Readme.md

File metadata and controls

108 lines (71 loc) · 6.2 KB

MQContract.RabbitMQ

Contents

Connection type

Namespace

MQContract.RabbitMQ

Summary

This is the MessageServiceConnection implemenation for using RabbitMQ

#ctor(factory) constructor

Summary

Default constructor for creating instance

Parameters
Name Type Description
factory RabbitMQ.Client.ConnectionFactory The connection factory to use that was built with required authentication and connection information

DefaultTimeout property

Summary

The default timeout to use for RPC calls when not specified by class or in the call. DEFAULT: 1 minute

MaxMessageBodySize property

Summary

The maximum message body size allowed

ExchangeDeclareAsync(exchange,type,durable,autoDelete,arguments) method

Summary

Used to decalre an exchange inside the RabbitMQ server

Returns

The connection to allow for chaining calls

Parameters
Name Type Description
exchange System.String The name of the exchange
type System.String The type of the exchange
durable System.Boolean Is this durable
autoDelete System.Boolean Auto Delete when connection closed
arguments System.Collections.Generic.IDictionary{System.String,System.Object} Additional arguements

QueueDeclareAsync(queue,durable,exclusive,autoDelete,arguments) method

Summary

Used to declare a queue inside the RabbitMQ server

Returns

The connection to allow for chaining calls

Parameters
Name Type Description
queue System.String The name of the queue
durable System.Boolean Is this queue durable
exclusive System.Boolean Is this queue exclusive
autoDelete System.Boolean Auto Delete queue when connection closed
arguments System.Collections.Generic.IDictionary{System.String,System.Object} Additional arguements

QueueDeleteAsync(queue,ifUnused,ifEmpty) method

Summary

Used to delete a queue inside the RabbitMQ server

Parameters
Name Type Description
queue System.String The name of the queue
ifUnused System.Boolean Is unused
ifEmpty System.Boolean Is Empty