mattrpav commented on code in PR #1726:
URL: https://github.com/apache/activemq/pull/1726#discussion_r3633775732


##########
activemq-broker/src/main/java/org/apache/activemq/network/NetworkConnector.java:
##########
@@ -164,22 +172,35 @@ public static ActiveMQDestination[] 
getDurableTopicDestinations(final Set<Active
     @Override
     public void start() throws Exception {
         serviceSupport.start();
+        startedTimestamp.set(System.currentTimeMillis());
+        stoppedTimestamp.set(0l);
     }
 
     @Override
     public void stop() throws Exception {
         serviceSupport.stop();
+        stoppedTimestamp.set(System.currentTimeMillis());
+        startedTimestamp.set(0l);
     }
 
     protected void handleStart() throws Exception {
         if (localURI == null) {
             throw new IllegalStateException("You must configure the 'localURI' 
property");
         }
         LOG.info("Network Connector {} started", this);
+        bridgeExceptionCounter.setEnabled(true);

Review Comment:
   I'm going to follow the pattern of tracking what the brokerService has 
configured.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to