activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michaelandrepearce <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #1647: ARTEMIS-1365 Advisory consumers listed ...
Date Fri, 17 Nov 2017 10:06:30 GMT
Github user michaelandrepearce commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1647#discussion_r151645918
  
    --- Diff: tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/management/OpenWireManagementTest.java
---
    @@ -55,6 +87,19 @@ public void setUp() throws Exception {
        @Override
        protected void extraServerConfig(Configuration serverConfig) {
           serverConfig.setJMXManagementEnabled(true);
    +      if (useDefault) {
    +         //don't set parameters explicitly
    +         return;
    +      }
    +      Set<TransportConfiguration> acceptorConfigs = serverConfig.getAcceptorConfigurations();
    +      for (TransportConfiguration tconfig : acceptorConfigs) {
    +         if ("netty".equals(tconfig.getName())) {
    +            Map<String, Object> params = tconfig.getExtraParams();
    +            params.put("supportAdvisory", supportAdvisory);
    +            params.put("suppressInternalManagementObjects", suppressJmx);
    +            System.out.println("Now use properties: " + params);
    --- End diff --
    
    (sorry to be a pain)


---

Mime
View raw message