You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/11/06 10:28:35 UTC

[2/2] git commit: passing the applications from messaging to the application processor chain

passing the applications from messaging to the application processor chain


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/48b6e329
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/48b6e329
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/48b6e329

Branch: refs/heads/docker-grouping-merge
Commit: 48b6e32953014c306429c2cf7a7dd716ffdd8807
Parents: 98a1a0a
Author: Isuru Haththotuwa <is...@apache.org>
Authored: Thu Nov 6 14:57:29 2014 +0530
Committer: Isuru Haththotuwa <is...@apache.org>
Committed: Thu Nov 6 14:57:29 2014 +0530

----------------------------------------------------------------------
 .../receiver/applications/ApplicationsEventMessageDelegator.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/48b6e329/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/receiver/applications/ApplicationsEventMessageDelegator.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/receiver/applications/ApplicationsEventMessageDelegator.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/receiver/applications/ApplicationsEventMessageDelegator.java
index 68d44b0..96745d8 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/receiver/applications/ApplicationsEventMessageDelegator.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/receiver/applications/ApplicationsEventMessageDelegator.java
@@ -68,7 +68,7 @@ public class ApplicationsEventMessageDelegator implements Runnable {
                     if (log.isDebugEnabled()) {
                         log.debug(String.format("Delegating application status event message: %s", type));
                     }
-                    processorChain.process(type, json, null);
+                    processorChain.process(type, json, ApplicationManager.getApplications());
                 } catch (Exception e) {
                     log.error("Failed to retrieve application status event message", e);
                 }