Commit Graph

130 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron b110d91c7a rabbit_exchange_type_random: Use rand_compat:uniform()
... instead of crypto:rand_uniform() which is deprecated.

This fixes the build with Erlang 20.
2017-10-31 11:19:37 +01:00
Jean-Sébastien Pédron 3390eef4f2 Update rabbitmq-components.mk 2017-10-13 15:11:59 +02:00
Jean-Sébastien Pédron 23177bdbbb Update rabbitmq-components.mk 2017-10-13 14:33:14 +02:00
Jean-Sébastien Pédron ea20339157 Update rabbitmq-components.mk 2017-10-13 14:13:25 +02:00
Jean-Sébastien Pédron 4758f57a81 Merge branch 'stable' 2017-10-13 13:58:35 +02:00
Jean-Sébastien Pédron 1103c05992 Update rabbitmq-components.mk 2017-10-13 12:15:50 +02:00
Michael Klishin 57673da68b Update rabbitmq-components.mk 2017-09-13 17:45:42 -04:00
Michael Klishin 982c9fd7af Update rabbitmq-components.mk 2017-09-12 12:42:01 -04:00
Michael Klishin ab01356ff5 README edits 2017-09-12 12:29:59 -04:00
Michael Klishin 1b5d685494 README edits 2017-09-12 12:25:31 -04:00
Michael Klishin 76da51aefe README edits 2017-09-12 12:04:14 -04:00
Michael Klishin 10115654c8 Ignore [binding] routing keys
This exchange never advertised (or probably intended) to use routing keys
for, well, anything. But currently it does and it gets confusing. Since
the intent is to pick a random binding's queue, perhaps it makes
more sense to load all bindings, the same way the fanout exchange
implementation does.

Without it, binding routing keys have an unexpected effect on the outcome.

Per discussion with @gerhard.
2017-09-12 11:51:05 -04:00
Michael Klishin 5397e791fd Switch to double licensing
Original project's README stated that it is licensed under the APL2
but code headers said it's licensed under the MPLv1.1. So we let
the user pick the one they prefer.

Note that RabbitMQ .NET client uses the same license pair.
2017-09-08 14:56:06 -04:00
Michael Klishin 60b9a83304 README updates 2017-09-08 14:52:04 -04:00
Michael Klishin 93d0915a14 Update README.md
Note: license information in README contradicted that in code
headers. I decided to stick to that in code headers and
double license under both in a future commit.
2017-09-08 14:45:49 -04:00
Michael Klishin 195abd93ea Be consistent with license headers in the code 2017-09-08 14:42:01 -04:00
Michael Klishin 303fb5692e Add license files 2017-09-08 14:41:14 -04:00
Michael Klishin 60630466df Update .gitignore 2017-09-08 14:34:29 -04:00
Michael Klishin 882f2b0e5b Correct plugin name 2017-09-08 14:32:44 -04:00
Michael Klishin deff8be671 Adapt to the current build system used by RabbitMQ plugins 2017-09-08 14:28:47 -04:00
Alvaro Videla db52d2759c brings exchange behaviour up to date 2013-10-07 02:30:21 -05:00
Simon MacMullen a0f2836474 Add policy_changed/3 no-op. 2012-06-27 14:41:33 +01:00
Simon MacMullen 7b5b05c63a Exchange type spec hrl is going away 2012-04-17 11:46:53 +01:00
Jon Brisbin 52a2710139 Fix for starting in 2.7 and later brokers. 2012-04-03 13:37:21 -05:00
J. Brisbin 7664132bba Changed tests to reflect new name change 2011-06-01 09:23:21 -05:00
J. Brisbin cb4ef7807c Issue #3 - Changed the name of the exchange to play nice with the AMQP spec 2011-06-01 09:23:21 -05:00
Theo 02ea806131 Created an empty include dir in order for make package to work 2011-04-27 08:37:48 +02:00
J. Brisbin e4fc86cee9 Tweaked README 2011-04-26 12:40:20 -05:00
J. Brisbin c113ddc9ef Added README 2011-04-26 12:38:47 -05:00
J. Brisbin a5bd053b69 Initial commit. 2011-04-26 12:35:06 -05:00