fix double invocation of listeners implementing intf

DATAREDIS-92
This commit is contained in:
Costin Leau
2012-06-21 20:58:26 +03:00
parent e7d7519ae8
commit a440291c6a
2 changed files with 32 additions and 11 deletions

View File

@@ -307,6 +307,7 @@ public class MessageListenerAdapter implements InitializingBean, MessageListener
if (delegate != this) {
if (delegate instanceof MessageListener) {
((MessageListener) delegate).onMessage(message, pattern);
return;
}
}