Repository: stratos Updated Branches: refs/heads/master 93f3636ab -> 85c0ea4e2
fix lb cluster id null issue Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/85c0ea4e Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/85c0ea4e Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/85c0ea4e Branch: refs/heads/master Commit: 85c0ea4e29ccf8cb594357b06d7beaa0b0d424a1 Parents: 93f3636 Author: Akila Perera <[email protected]> Authored: Wed Oct 1 09:12:03 2014 +0530 Committer: Akila Perera <[email protected]> Committed: Wed Oct 1 09:55:21 2014 +0530 ---------------------------------------------------------------------- .../subscription/filter/LBCreationSubscriptionFilter.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/85c0ea4e/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/filter/LBCreationSubscriptionFilter.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/filter/LBCreationSubscriptionFilter.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/filter/LBCreationSubscriptionFilter.java index ca93935..6057243 100644 --- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/filter/LBCreationSubscriptionFilter.java +++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/subscription/filter/LBCreationSubscriptionFilter.java @@ -97,6 +97,11 @@ public class LBCreationSubscriptionFilter implements SubscriptionFilter { if (lbDataCtxt.getLbProperperties() != null && !lbDataCtxt.getLbProperperties().isEmpty()) { List<Property> lbProperperties = lbDataCtxt.getLbProperperties(); lbCartridgeSubscriptionProperties.setProperties(lbProperperties.toArray(new Property[lbProperperties.size()])); + for (Property property : lbProperperties){ + if (org.apache.stratos.messaging.util.Constants.LOAD_BALANCER_REF.equals(property.getName())) { + filterProperties.addProperties(property); + } + } } if (lbCartridgeSubscription != null) {
