summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Donald Kennedy <grkvlt@apache.org>2010-09-28 09:18:45 +0000
committerAndrew Donald Kennedy <grkvlt@apache.org>2010-09-28 09:18:45 +0000
commit7a95bb91bf4f7e85f0490ddf92141e464c0571ac (patch)
tree758c92cfb8c04270c6d19b65774e6cd5e4b3bda9
parent3af68c7c486f3c7a2a54aa6ff0d49c55511dbb04 (diff)
downloadqpid-python-7a95bb91bf4f7e85f0490ddf92141e464c0571ac.tar.gz
QPID-2834: Implement subscriptions (SUB) operational logging on 0-10
Add correct LogSubject and helper method to set upo LogActor Committed patch from SorinS <ssuciu@gmsail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1002063 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/Subscription_0_10.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/Subscription_0_10.java b/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/Subscription_0_10.java
index cbc8664574..0e19b17a50 100644
--- a/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/Subscription_0_10.java
+++ b/qpid/java/broker/src/main/java/org/apache/qpid/server/subscription/Subscription_0_10.java
@@ -275,7 +275,7 @@ public class Subscription_0_10 implements Subscription, FlowCreditManager.FlowCr
}
_creditManager.removeListener(this);
getConfigStore().removeConfiguredObject(this);
- CurrentActor.get().message(SubscriptionMessages.CLOSE());
+ CurrentActor.get().message(getLogSubject(), SubscriptionMessages.CLOSE());
}
finally
{
@@ -948,4 +948,9 @@ public class Subscription_0_10 implements Subscription, FlowCreditManager.FlowCr
return filterLogString.toString();
}
+ public LogSubject getLogSubject()
+ {
+ return (LogSubject) this;
+ }
+
}