Click or drag to resize

AmqpCFXEndpointAddSubscribeChannel(Uri, String, String, X509Certificate) Method

Adds a new subscription channel for this endpoint.

Namespace: CFX.Transport
Assembly: CFX (in CFX.dll) Version: 1.7.3
Syntax
public void AddSubscribeChannel(
	Uri networkAddress,
	string address,
	string virtualHostHame = null,
	X509Certificate certificate = null
)

Parameters

networkAddress  Uri
The network address of the message source.
address  String
The AMQP source address of the message source.
virtualHostHame  String  (Optional)
If using a broker with multiple virtual hosts, the virtual host name to be used on the broker. For RabbitMQ broker, use format vhost:MYVHOST
certificate  X509Certificate  (Optional)
If secure amqps is being used, this property may optionally include the certificate that will be matched against the server's certificate. Leave null if you do not wish to perform certificate matching (secure communications will still be established using the server's certificate (if using amqps).
See Also