jbertram commented on pull request #3412: URL: https://github.com/apache/activemq-artemis/pull/3412#issuecomment-765062691
Aside from my inline comments I've got a few others... - Please deprecate all the other `createBridge` management methods. - Add another test like `org.apache.activemq.artemis.tests.integration.management.ActiveMQServerControlTest#testCreateAndDestroyBridge` using the new method. > ...it would allow also us to create method `ActiveMQServerControl#createBridge(BridgeConfiguration)` :), which may be nice type safe addition to the JSON string version. Management methods should only take simple types so they can be invoked from JMX tools as well as HTTP via Jolokia. The only time a complex object (e.g. `BridgeConfiguration`) would be used is if the invoking client was in the same JVM but in that case they could use the embedded broker's configuration API directly and won't need the management method. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
