I always got the error "Connection refused" when I am trying to connect to CloudAMQP server.
I realized that the library had problems when a QAMQP::Client(qurl (connectionString)) instance is created, the attribute virtualHost con PrivateClient always starts with "/".
I solve the problem validating this on ClientPrivate::parseCnnString( const QUrl & con )
QString vhost(con.path().remove( QRegExp("^/+|/+$") ));
{
if (vhost.isEmpty())
vhost = QString("/");
q->setVirtualHost(vhost);
}
Sorry, for my english
Greetings
I always got the error "Connection refused" when I am trying to connect to CloudAMQP server.
I realized that the library had problems when a QAMQP::Client(qurl (connectionString)) instance is created, the attribute virtualHost con PrivateClient always starts with "/".
I solve the problem validating this on ClientPrivate::parseCnnString( const QUrl & con )
Sorry, for my english
Greetings