diff options
author | Alvaro Videla <alvaro@rabbitmq.com> | 2014-01-22 19:34:13 +0100 |
---|---|---|
committer | Alvaro Videla <alvaro@rabbitmq.com> | 2014-01-22 19:34:13 +0100 |
commit | 7832d7ec6ef2a61e6f0e687611ef107a85677b3d (patch) | |
tree | 8ac445a030ec14f78101ea3d9f5f74315e0065ca /src/rabbit_channel_interceptor.erl | |
parent | 7916942cd277039f60731ab79cf435679d98ae6c (diff) | |
download | rabbitmq-server-7832d7ec6ef2a61e6f0e687611ef107a85677b3d.tar.gz |
updates interceptor behaviour spec
Diffstat (limited to 'src/rabbit_channel_interceptor.erl')
-rw-r--r-- | src/rabbit_channel_interceptor.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel_interceptor.erl b/src/rabbit_channel_interceptor.erl index 636b0610..2bd22579 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. |