Commit Graph

432 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron 3b453bb782 Update rabbitmq-components.mk 2015-12-01 18:36:21 +01:00
Jean-Sébastien Pédron 18f3dbfb6d Update rabbitmq-components.mk 2015-12-01 16:17:18 +01:00
Jean-Sébastien Pédron f032466708 Update rabbitmq-components.mk 2015-11-30 09:14:37 +01:00
Jean-Sébastien Pédron e976b53ab9 Update rabbitmq-components.mk 2015-11-26 08:54:10 +01:00
Jean-Sébastien Pédron 251a91b1ad Update rabbitmq-components.mk 2015-11-26 08:41:22 +01:00
Jean-Sébastien Pédron 63bbcc934d Update erlang.mk 2015-11-25 10:35:55 +01:00
Jean-Sébastien Pédron 5c66096dfc Update rabbitmq-components.mk 2015-11-25 10:35:23 +01:00
Jean-Sébastien Pédron 1a2c08c2c3 Update rabbitmq-components.mk 2015-11-20 10:52:04 +01:00
Jean-Sébastien Pédron 819aca804b Update erlang.mk 2015-11-19 14:31:43 +01:00
Jean-Sébastien Pédron 628abb6844 Update erlang.mk 2015-11-18 19:14:27 +01:00
Jean-Sébastien Pédron f1b2248ad0 Update erlang.mk 2015-11-18 17:39:28 +01:00
Jean-Sébastien Pédron a15d9703a1 Update erlang.mk 2015-11-10 13:12:12 +01:00
Jean-Sébastien Pédron 2553703ed0 Update rabbitmq-components.mk 2015-11-10 13:11:16 +01:00
Jean-Sébastien Pédron b99b36657d Update rabbitmq-components.mk 2015-11-05 20:51:33 +00:00
Jean-Sébastien Pédron 6a55e78fc9 Update rabbitmq-components.mk 2015-11-03 15:12:28 +01:00
Jean-Sébastien Pédron 5a49f9095b Update rabbitmq-components.mk 2015-11-02 10:20:49 +01:00
Jean-Sébastien Pédron 1207c3e65e Update rabbitmq-components.mk 2015-10-30 17:32:55 +01:00
Jean-Sébastien Pédron f9e6aeefef Update erlang.mk 2015-10-28 11:15:52 +01:00
Jean-Sébastien Pédron 79df2843ad Update rabbitmq-components.mk 2015-10-28 11:10:36 +01:00
Jean-Sébastien Pédron 4e7c912497 DEPS: Remove rabbit 2015-10-26 18:11:44 +01:00
Jean-Sébastien Pédron d51a24f9a9 Update erlang.mk 2015-10-26 15:33:18 +01:00
Jean-Sébastien Pédron d5132a0b75 Update rabbitmq-components.mk 2015-10-26 11:15:26 +01:00
Jean-Sébastien Pédron 4442251593 Update rabbitmq-components.mk 2015-10-26 10:21:16 +01:00
Jean-Sébastien Pédron 8901573ae6 Adapt .travis.yml to erlang.mk 2015-10-23 20:05:20 +02:00
Jean-Sébastien Pédron 12a705fba8 Update erlang.mk 2015-10-23 18:32:37 +02:00
Jean-Sébastien Pédron 5b97e45bda Update rabbitmq-components.mk 2015-10-23 16:05:41 +02:00
Jean-Sébastien Pédron 69497fa6fe Update erlang.mk 2015-10-22 18:34:17 +02:00
Jean-Sébastien Pédron 39676fe18a Update rabbitmq-components.mk 2015-10-19 17:35:43 +02:00
Jean-Sébastien Pédron c9633e936a Update erlang.mk 2015-10-19 17:29:25 +02:00
Jean-Sébastien Pédron aa5eeaeca4 Update rabbitmq-components.mk 2015-10-19 17:29:25 +02:00
Jean-Sébastien Pédron 64bfae2fa0 Initial move to erlang.mk 2015-10-19 17:29:25 +02:00
Alvaro Videla b506dad8c0 fixes connection leaking on tests 2015-09-16 14:38:26 +03:00
Alvaro Videla d6ee1f406c cosmetics 2015-09-15 12:09:56 +03:00
Gavin M. Roy a9bcb539b4 Add routing on message properties
Summary:

Add a new hash-property argument setting that allows for message hasing based upon the correlation_id or message_id.

Changes:

- Validate the exchange upon creation to ensure that hash-header and hash-property are not both set at the same time. Additionally validate the value of hash-property when set is one of correlation_id or message_id
- Change the signature of hash/2 for header to match on {header, Header} instead of {longstr, Header}
- Add a new hash/2 implementation that matches on {property, Value} for returning the hashable string from the message properties
- Implement a new hash_on/1 method for selecting the data the message will be routed on
- Implement a new hash_args/1 method for returning the configuration for both hash-header and hash-property
- Add test coverage for message property based routing

This addresses the proposal I outlined in #7
2015-09-02 12:33:32 -04:00
Michael Klishin 63d9a783ff Merge branch 'stable' 2015-09-02 11:23:43 +03:00
Michael Klishin 8728d6b476 Clean up declared queues 2015-09-02 11:23:25 +03:00
Michael Klishin fb8dba5018 Cosmetics 2015-09-02 11:21:27 +03:00
Michael Klishin 2b5af1e219 Merge branch 'add-validation' of git://github.com/gmr/rabbitmq-consistent-hash-exchange into gmr-add-validation 2015-09-02 10:29:36 +03:00
Michael Klishin 9d62cbdff5 Copy .travis.yml over to stable 2015-09-02 10:11:15 +03:00
Gavin M. Roy c023431dec Validate routing key when binding
- Address #6 by validating that the routing key is both numeric and non-negative.
- Add unit tests to cover both cases.
2015-09-01 12:03:33 -04:00
Michael Klishin bdc1541677 Add travis badge 2015-08-22 01:45:47 +03:00
Michael Klishin 8b894f80ee Oops 2015-08-22 01:41:21 +03:00
Michael Klishin 0f331f6546 Update .travis.yml 2015-08-22 01:37:25 +03:00
Michael Klishin 26015f246b Merge pull request #9 from gmr/travis-ci-testing
Add configuration for travis-ci testing
2015-08-22 01:27:52 +03:00
Gavin M. Roy 932b5a2fda Add configuration for travis-ci testing 2015-08-21 18:16:49 -04:00
Michael Klishin 12a8d9a690 Update README.md 2015-06-04 14:50:52 +03:00
Michael Klishin 3b42477e05 Update README.md 2015-03-24 21:15:56 +03:00
Michael Klishin eeaca05545 Update mailing list link 2015-03-24 21:04:46 +03:00
Michael Klishin b96f10c561 Sync CONTRIBUTING.md with the template one 2015-02-20 17:08:30 +03:00
Jean-Sébastien Pédron d8ae1be58d Merge branch 'stable' 2015-02-19 18:13:16 +01:00
Jean-Sébastien Pédron 3e5c968d61 Convert .hgignore to .gitignore 2015-02-19 17:26:01 +01:00
Michael Klishin 662df3f479 Sync CONTRIBUTING.md with the template one 2015-02-18 00:24:45 +03:00
Jean-Sébastien Pédron f4d4bbf631 Remove the "moved to GitHub" warning. 2015-02-17 21:10:43 +01:00
Jean-Sebastien Pedron 69c6ae07cf README.md: Warn about the move to GitHub 2015-02-17 17:58:46 +01:00
Simon MacMullen b0619116f6 Merge bug 24926 2014-06-11 13:54:26 +01:00
Simon MacMullen e89376c58c Update copyright for 2014 2014-03-17 17:25:20 +00:00
Tim Watson ee54ac2758 Switch to simplified boot/cleanup step API 2014-01-12 12:07:53 +00:00
Tim Watson a595426b95 Unregister the exchange type when the plugin is disabled (at runtime) 2013-11-27 14:31:54 +00:00
Simon MacMullen d56ade9bf3 s/VMware/GoPivotal/g 2013-07-01 10:49:11 +01:00
Matthias Radestock 8cf8a63fdf propagate API change; and some cosmetics 2013-03-17 20:23:24 +00:00
Simon MacMullen 8f216d33ea rabbit_exchange_type:validate_binding/2. 2013-03-13 17:18:48 +00:00
Emile Joubert ecd23a1375 Merged bug25044 2013-02-12 11:23:52 +00:00
Emile Joubert 5d2f230fdf Merge heads 2013-02-12 11:18:27 +00:00
Simon MacMullen e6723046a7 Don't repeat yourself. 2013-02-08 16:10:27 +00:00
Emile Joubert 38b8f1967b Update copyright 2013 2013-01-23 11:29:20 +00:00
Simon MacMullen 30801fb358 A test would be nice. 2013-01-18 14:22:00 +00:00
Matthias Radestock e0eb8a7f5b this should be more efficient 2013-01-17 21:09:05 +00:00
Matthias Radestock 2eaab2a314 cleanup on deletion 2013-01-16 19:47:51 +00:00
Simon MacMullen 2f2f22e96c More doc 2013-01-09 14:24:58 +00:00
Simon MacMullen 57c59f05b3 Remove unused variables 2013-01-09 14:21:20 +00:00
Simon MacMullen 1af651f92f Typo 2013-01-09 11:11:51 +00:00
Simon MacMullen 0c27693353 Derp, use arguments rather than environment. And add a touch of documentation. 2013-01-09 11:10:05 +00:00
Simon MacMullen 71ad929bcf I realise now this should be keyed off exchange arguments, but I want to go home and I hate leaving things uncommitted. 2013-01-08 18:34:55 +00:00
Simon MacMullen f5bdb4869e API change 2012-05-18 16:21:41 +01:00
Francesco Mazzoli 38379f2e62 Removed behaviour .hrl 2012-04-12 11:18:33 +01:00
Emile Joubert 996e96c6c1 Update copyright 2012 2012-02-02 12:53:17 +00:00
Matthew Sackman 1a28d07b69 bug 24620: Remember that the first item in the table may not be for the exchange we're interested in... 2011-12-08 15:23:39 +00:00
Matthew Sackman 2350b5c611 Add test, of a rather basic nature. I would much rather use confirms, not txn, but confirms are broken in the erlang client (see bug 24499), so I have no choice. 2011-10-18 16:39:24 +01:00
Matthew Sackman 600567148a Minor improvements to documentation; additional comment in code now that I've given up with my finger-tree implementation to 'solve' the identified problem. 2011-10-18 15:36:28 +01:00
Matthew Sackman 498109c86e Minor inlining. 2011-09-24 19:56:08 +01:00
Matthew Sackman bf08828cce Improve documentation 2011-09-24 19:39:28 +01:00
Matthew Sackman e0ef2de300 Initial check-in 2011-09-24 19:21:18 +01:00