Github user rbnks commented on a diff in the pull request:

    https://github.com/apache/incubator-streams/pull/134#discussion_r20519649
  
    --- Diff: 
streams-runtimes/streams-runtime-local/src/main/java/org/apache/streams/local/builders/LocalStreamBuilder.java
 ---
    @@ -276,6 +283,14 @@ protected void shutdown(Map<String, List<StreamsTask>> 
streamsTasks) throws Inte
             }
         }
     
    +    private void clearJMXBeans() {
    +        try {
    +            
ComponentUtils.removeAllMBeansOfDomain("org.apache.streams.local");
    --- End diff --
    
    This might not work correctly.  If two streams are running on the same JVM, 
this will clear out both streams JMXbeans.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to