Skip to content

Commit

Permalink
bug #38612 [Messenger/Amqp] Allow setting option "login" in DSN (W0rma)
Browse files Browse the repository at this point in the history
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
-------

43c0577 Allow setting AMQP option "login"
  • Loading branch information
nicolas-grekas committed Oct 19, 2020
2 parents 4fdacdb + 43c0577 commit bbb220c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class Connection
'port',
'vhost',
'user',
'login',
'password',
'queues',
'exchange',
Expand Down Expand Up @@ -123,7 +124,7 @@ public function __construct(array $connectionOptions, array $exchangeOptions, ar
* * 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.
Expand Down

0 comments on commit bbb220c

Please sign in to comment.