mattrpav commented on code in PR #2539:
URL: https://github.com/apache/activemq/pull/2539#discussion_r4209250773
##########
activemq-broker/src/main/java/org/apache/activemq/broker/Connector.java:
##########
@@ -86,6 +86,44 @@ public interface Connector extends Service {
long getMaxConnectionExceededCount();
+ /** @return the configured remote address allow list, comma separated
CIDRs or a file: URI, or null */
+ String getAllowList();
Review Comment:
Draft update:
```
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616">
<transportConnectorPolicy>
<remoteAddressConnectorPolicy allowList="10.0.0.0/8"
denyList="10.0.0.53/32"/>
</transportConnectorPolicy>
</transportConnector>
```
Note: resetStatistics on the connector will _not_ propagate to the
sub-policy instance. metrics are only atomic per-counter, and not per-instance.
Resetting the policy's statistics is a separate operation and invocation
--
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