public class RabbitMQBinding

Summary

A windows communication foundation binding over AMQP

Field Summary

Flags Type Name Summary
public initonly static long DefaultMaxMessageSize

(undocumented)

Property Summary

Flags Type Name Summary
public IProtocol BrokerProtocol (rw)

Specifies the version of the AMQP protocol that should be used to communicate with the broker

public string HostName (rw)

Specifies the hostname of the RabbitMQ Server

public long MaxMessageSize (rw)

Specifies the maximum encoded message size

public bool OneWayOnly (rw)

Specifies whether or not the CompositeDuplex and ReliableSession binding elements are added to the channel stack.

public int Port (rw)

Specifies the RabbitMQ Server port

public ReliableSession ReliableSession (r)

Gets the reliable session parameters for this binding instance

public virtual string Scheme (r)

Gets the scheme used by the binding, soap.amqp

public bool TransactionFlow (rw)

Determines whether or not the TransactionFlowBindingElement will be added to the channel stack

public RabbitMQTransportBindingElement Transport (r)

Gets the AMQP transport binding element

Constructor Summary

Flags Name Summary
public RabbitMQBinding(string hostname, int port, string username, string password, string virtualhost, long maxMessageSize, IProtocol protocol)

Uses the broker, login and protocol specified

public RabbitMQBinding(IProtocol protocol)

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

public RabbitMQBinding(string hostname, int port, IProtocol protocol)

Uses the broker and protocol specified

public RabbitMQBinding()

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

public RabbitMQBinding(string hostname, int port)

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

Method Summary

Flags Name Summary
public virtual BindingElementCollection CreateBindingElements()

(undocumented)

Field Detail

public initonly static long DefaultMaxMessageSize

Property Detail

public IProtocol BrokerProtocol (rw)

Summary

Specifies the version of the AMQP protocol that should be used to communicate with the broker

public string HostName (rw)

Summary

Specifies the hostname of the RabbitMQ Server

public long MaxMessageSize (rw)

Summary

Specifies the maximum encoded message size

public bool OneWayOnly (rw)

Summary

Specifies whether or not the CompositeDuplex and ReliableSession binding elements are added to the channel stack.

public int Port (rw)

Summary

Specifies the RabbitMQ Server port

public ReliableSession ReliableSession (r)

Summary

Gets the reliable session parameters for this binding instance

public virtual string Scheme (r)

Summary

Gets the scheme used by the binding, soap.amqp

public bool TransactionFlow (rw)

Summary

Determines whether or not the TransactionFlowBindingElement will be added to the channel stack

public RabbitMQTransportBindingElement Transport (r)

Summary

Gets the AMQP transport binding element

Constructor Detail

RabbitMQBinding

public RabbitMQBinding(string hostname, int port, string username, string password, string virtualhost, long maxMessageSize, IProtocol protocol)

Parameters
Name Type
hostname string
port int
username string
password string
virtualhost string
maxMessageSize long
protocol IProtocol

Summary

Uses the broker, login and protocol specified

Param

The hostname of the broker to connect to

Param

The port of the broker to connect to

Param

The broker username to connect with

Param

The broker password to connect with

Param

The broker virtual host

Param

The largest allowable encoded message size

Param

The protocol version to use

RabbitMQBinding

public RabbitMQBinding(IProtocol protocol)

Parameters
Name Type
protocol IProtocol

Summary

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

Param

The protocol version to use

RabbitMQBinding

public RabbitMQBinding(string hostname, int port, IProtocol protocol)

Parameters
Name Type
hostname string
port int
protocol IProtocol

Summary

Uses the broker and protocol specified

Param

The hostname of the broker to connect to

Param

The port of the broker to connect to

Param

The protocol version to use

RabbitMQBinding

public RabbitMQBinding()

Summary

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

RabbitMQBinding

public RabbitMQBinding(string hostname, int port)

Parameters
Name Type
hostname string
port int

Summary

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

Param

The hostname of the broker to connect to

Param

The port of the broker to connect to

Method Detail

CreateBindingElements

public virtual BindingElementCollection CreateBindingElements()

Flags public virtual
Return type BindingElementCollection