When building the address url, username and password should be split with a colon
This commit is contained in:
parent
875300dbce
commit
c783ec7618
|
|
@ -172,7 +172,7 @@ public:
|
|||
std::string str("amqp://");
|
||||
|
||||
// append login
|
||||
str.append(_login.user()).append("@").append(_login.password()).append("@").append(_hostname);
|
||||
str.append(_login.user()).append(":").append(_login.password()).append("@").append(_hostname);
|
||||
|
||||
// do we need a special portnumber?
|
||||
if (_port != 5672) str.append(":").append(std::to_string(_port));
|
||||
|
|
|
|||
Loading…
Reference in New Issue