bug #38612 [Messenger/Amqp] Allow setting option "login" in DSN (W0rma)

This PR was merged into the 5.1 branch.

Discussion
----------

[Messenger/Amqp] Allow setting option "login" in DSN

| Q             | A
| ------------- | ---
| Branch?       | 5.1
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #37618
| License       | MIT
| Doc PR        |

Commits
-------

43c05774ac Allow setting AMQP option "login"
This commit is contained in:
Nicolas Grekas 2020-10-19 12:04:45 +02:00
commit bbb220c8e3

View File

@ -37,6 +37,7 @@ class Connection
'port',
'vhost',
'user',
'login',
'password',
'queues',
'exchange',
@ -123,7 +124,7 @@ class Connection
* * host: Hostname of the AMQP service
* * port: Port of the AMQP service
* * vhost: Virtual Host to use with the AMQP service
* * user: Username to use to connect the AMQP service
* * user|login: Username to use to connect the AMQP service
* * password: Password to use to connect to the AMQP service
* * read_timeout: Timeout in for income activity. Note: 0 or greater seconds. May be fractional.
* * write_timeout: Timeout in for outcome activity. Note: 0 or greater seconds. May be fractional.