ProtonClientOptions.setVirtualHost

Override the hostname value used in the connection AMQP Open frame and TLS SNI server name (if TLS is in use). By default, the hostname specified in {@link ProtonClient#connect} will be used for both, with SNI performed implicit where a FQDN was specified.

The SNI server name can also be overridden explicitly using {@link #setSniServerName(String)}.

@param virtualHost hostname to set @return current ProtonClientOptions instance

class ProtonClientOptions
setVirtualHost
()

Meta