summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Videla <alvaro@rabbitmq.com>2014-01-22 19:34:13 +0100
committerAlvaro Videla <alvaro@rabbitmq.com>2014-01-22 19:34:13 +0100
commiteff6c36a04bf76d0751a63d876660062c5be14ea (patch)
tree8ac445a030ec14f78101ea3d9f5f74315e0065ca
parent6657b20d1fa1f0f4e8f1f7cad62c3ed1b59a4442 (diff)
downloadrabbitmq-server-git-eff6c36a04bf76d0751a63d876660062c5be14ea.tar.gz
updates interceptor behaviour spec
-rw-r--r--src/rabbit_channel_interceptor.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel_interceptor.erl b/src/rabbit_channel_interceptor.erl
index 636b061092..2bd225798b 100644
--- a/src/rabbit_channel_interceptor.erl
+++ b/src/rabbit_channel_interceptor.erl
@@ -32,7 +32,7 @@
-callback description() -> [proplists:property()].
--callback intercept(original_method()) ->
+-callback intercept(original_method(), rabbit_types:vhost()) ->
rabbit_types:ok_or_error2(processed_method(), any()).
%% Whether the interceptor wishes to intercept the amqp method
@@ -43,7 +43,7 @@
-export([behaviour_info/1]).
behaviour_info(callbacks) ->
- [{description, 0}, {intercept, 1}, {applies_to, 1}];
+ [{description, 0}, {intercept, 2}, {applies_to, 1}];
behaviour_info(_Other) ->
undefined.