On 25/04/2019 9:15 am, Jose Alberto Fernandez Parejo wrote:
It is strange but there is no host field in 'open' frame. See below the
logs for the following calls:
Connection connection(url, "{protocol:amqp1.0}");
Try:
Connection connection(url, "{protocol:amqp1.0,virtualhost:'vhost:foo'}");
connection.setOption("sasl-mechanism", "PLAIN");
connection.setOption("username", "p_21");
connection.setOption("password", "p_21");
connection.setOption("virtualhost", "P_21_seqdep");
connection.open();
We have been debugging and it seems that
ConnectionContext::configureConnection is not called after
connection.setOption
Yes, it is called on constructing the object, rather than on initiating
the open, which means the option has to be passed in to the constructor.
(That is less than ideal, I agree).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org