C# Class RabbitMQ.ServiceModel.RabbitMQBinding

A windows communication foundation binding over AMQP
Inheritance: System.ServiceModel.Channels.Binding
ファイルを表示 Open project: Chatham/rabbitmq-dotnet-client Class Usage Examples

Public Properties

Property Type Description
DefaultMaxMessageSize long
queueSettings QueueSettings

Private Properties

Property Type Description
Initialize void

Public Methods

Method Description
CreateBindingElements ( ) : BindingElementCollection
RabbitMQBinding ( ) : System

Creates a new instance of the RabbitMQBinding class initialized to use the Protocols.DefaultProtocol. The broker must be set before use.

RabbitMQBinding ( Client.IProtocol protocol ) : System

Uses the specified protocol. The broker must be set before use.

RabbitMQBinding ( String hostname, int port ) : System

Uses the broker specified by the given hostname and port with Protocols.DefaultProtocol.

RabbitMQBinding ( String hostname, int port, Client.IProtocol protocol ) : System

Uses the broker and protocol specified

RabbitMQBinding ( String hostname, int port, String username, String password, String virtualhost, long maxMessageSize, Client.IProtocol protocol ) : System

Uses the broker, login and protocol specified

Private Methods

Method Description
Initialize ( ) : void

Method Details

CreateBindingElements() public method

public CreateBindingElements ( ) : BindingElementCollection
return BindingElementCollection

RabbitMQBinding() public method

Creates a new instance of the RabbitMQBinding class initialized to use the Protocols.DefaultProtocol. The broker must be set before use.
public RabbitMQBinding ( ) : System
return System

RabbitMQBinding() public method

Uses the specified protocol. The broker must be set before use.
public RabbitMQBinding ( Client.IProtocol protocol ) : System
protocol Client.IProtocol The protocol version to use
return System

RabbitMQBinding() public method

Uses the broker specified by the given hostname and port with Protocols.DefaultProtocol.
public RabbitMQBinding ( String hostname, int port ) : System
hostname String The hostname of the broker to connect to
port int The port of the broker to connect to
return System

RabbitMQBinding() public method

Uses the broker and protocol specified
public RabbitMQBinding ( String hostname, int port, Client.IProtocol protocol ) : System
hostname String The hostname of the broker to connect to
port int The port of the broker to connect to
protocol Client.IProtocol The protocol version to use
return System

RabbitMQBinding() public method

Uses the broker, login and protocol specified
public RabbitMQBinding ( String hostname, int port, String username, String password, String virtualhost, long maxMessageSize, Client.IProtocol protocol ) : System
hostname String The hostname of the broker to connect to
port int The port of the broker to connect to
username String The broker username to connect with
password String The broker password to connect with
virtualhost String The broker virtual host
maxMessageSize long The largest allowable encoded message size
protocol Client.IProtocol The protocol version to use
return System

Property Details

DefaultMaxMessageSize public_oe static_oe property

public static long DefaultMaxMessageSize
return long

queueSettings public_oe property

public QueueSettings,RabbitMQ.ServiceModel queueSettings
return QueueSettings