Skip to content

Commit 74f312a

Browse files
Docs
1 parent 2db3ca9 commit 74f312a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/rabbit_policy.erl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,22 @@
1616

1717
-module(rabbit_policy).
1818

19+
%% Policies is a way to apply optional arguments ("x-args")
20+
%% to exchanges and queues in bulk, using name matching.
21+
%%
22+
%% Only one policy can apply to a given queue or exchange
23+
%% at a time. Priorities help determine what policy should
24+
%% take precedence.
25+
%%
26+
%% Policies build on runtime parameters. Policy-driven parameters
27+
%% are well known and therefore validated.
28+
%%
29+
%% See also:
30+
%%
31+
%% * rabbit_runtime_parameters
32+
%% * rabbit_policies
33+
%% * rabbit_registry
34+
1935
%% TODO specs
2036

2137
-behaviour(rabbit_runtime_parameter).

0 commit comments

Comments
 (0)