Working properly now.
Thank you so much.
On 04/25/2019 08:46 AM, Gordon Sim wrote:
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
> .
>
________________________________
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Si no es vd. el destinatario indicado, queda
notificado que la lectura, utilización, divulgación y/o copia sin autorización
está prohibida en virtud de la legislación vigente. En el caso de haber
recibido este correo electrónico por error, se ruega notificar inmediatamente
esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.
This email and any file attached to it (when applicable) contain(s)
confidential information that is exclusively addressed to its recipient(s). If
you are not the indicated recipient, you are informed that reading, using,
disseminating and/or copying it without authorisation is forbidden in
accordance with the legislation in effect. If you have received this email by
mistake, please immediately notify the sender of the situation by resending it
to their email address.
Avoid printing this message if it is not absolutely necessary.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]