AmqpCFXEndpointAddSubscribeChannel(AmqpChannelAddress, String, X509Certificate) Method |
Adds a new subscription channel for this endpoint.
Namespace: CFX.TransportAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic void AddSubscribeChannel(
AmqpChannelAddress address,
string virtualHostName = null,
X509Certificate certificate = null
)
Public Sub AddSubscribeChannel (
address As AmqpChannelAddress,
Optional virtualHostName As String = Nothing,
Optional certificate As X509Certificate = Nothing
)
Parameters
- address AmqpChannelAddress
- The address (network address + AMQP source address) of the source.
- 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