brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <>
Subject [GitHub] incubator-brooklyn pull request: [BROOKLYN-92] Configure brokerNam...
Date Fri, 28 Nov 2014 15:10:32 GMT
Github user sjcorbett commented on a diff in the pull request:
    --- Diff: software/messaging/src/main/java/brooklyn/entity/messaging/activemq/
    @@ -56,6 +56,10 @@
         public static final BasicConfigKey<String> MIRROR_URL = new BasicConfigKey<String>(String.class,
"activemq.install.mirror.url", "URL of mirror",
    +    @SetFromFlag("brokerName")
    +    public static final AttributeSensorAndConfigKey<String,String> BROKER_NAME
= new BasicAttributeSensorAndConfigKey<String>(
    +            String.class, "activemq.brokerName", "ActiveMQ Broker Name", "localhost");
    --- End diff --
    Pretty trivial but you could also write this in a simpler form:
    `ConfigKeys.newStringSensorAndConfigKey("activemq.brokerName", "ActiveMQ Broker Name",

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message