Commit ca2bdfb
committed
Rabbit registry: Dinamically allow to define new classes
rabbit_registry classes are currently static, hard-coded in rabbit registry.
Dinamically searching for new classes using Erlang attributes allows
for plugins to add new classes and make use of the registry.
i.e. shovel protocols can benefit of this feature1 parent e49ed93 commit ca2bdfb
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
194 | 205 | | |
195 | 206 | | |
196 | 207 | | |
| |||
0 commit comments