stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From im...@apache.org
Subject stratos git commit: Adding instance id to the member object in InstanceSpawnedMessageProcessor
Date Tue, 09 Dec 2014 08:06:20 GMT
Repository: stratos
Updated Branches:
  refs/heads/4.1.0-test cf9035e2e -> 6edef8f15


Adding instance id to the member object in InstanceSpawnedMessageProcessor


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

Branch: refs/heads/4.1.0-test
Commit: 6edef8f1578ed695e96a699986a8b54ca68230b9
Parents: cf9035e
Author: Imesh Gunaratne <imesh@apache.org>
Authored: Tue Dec 9 13:36:10 2014 +0530
Committer: Imesh Gunaratne <imesh@apache.org>
Committed: Tue Dec 9 13:36:10 2014 +0530

----------------------------------------------------------------------
 .../message/processor/topology/InstanceSpawnedMessageProcessor.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/6edef8f1/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
index 98b74f0..0d21f5f 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/InstanceSpawnedMessageProcessor.java
@@ -135,6 +135,7 @@ public class InstanceSpawnedMessageProcessor extends MessageProcessor
{
             member.setMemberPublicIp(event.getMemberPublicIp());
             member.setMemberIp(event.getMemberIp());
             member.setLbClusterId(event.getLbClusterId());
+            member.setInstanceId(event.getInstanceId());
             member.setProperties(event.getProperties());
             cluster.addMember(member);
 


Mime
View raw message