Click or drag to resize

AmqpCFXEndpointAddPublishChannel(AmqpChannelAddress, String, X509Certificate) Method

Adds a new publish channel for this endpoint. All messages published by the endpoint will be transmitted to one or more publish channels that are established using this method. Only call this methoud after this endpoint has been opened by the Open method.

Namespace: CFX.Transport
Assembly: CFX (in CFX.dll) Version: 1.7.3
Syntax
public void AddPublishChannel(
	AmqpChannelAddress address,
	string virtualHostName = null,
	X509Certificate certificate = null
)

Parameters

address  AmqpChannelAddress
Represents the network address and AMQP target address of the target channel
virtualHostName  String  (Optional)
If using a broker with multiple virtual hosts, the virtual host name to be used on the broker.
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