TomasHofman commented on pull request #3412:
URL: https://github.com/apache/activemq-artemis/pull/3412#issuecomment-763614891


   @jbertram I implemented the `createBridge(jsonString)` method, can you check 
if it is what you imagined?
   
   I didn't move the `BridgeConfiguration` class into `activemq-commons` module 
as it wasn't necessary in the scope of work I did. It rather looked problematic 
as I would have to move other classes with it (`ActiveMQDefaultConfiguration`, 
`ActiveMQClient`, `ComponentConfigurationRoutingType`) which 
`BridgeConfiguration` depends on.
   
   If we were to move it out of `activemq-server` module, would the 
`artemis-core-client` module be a suitable place? This seems easier judging 
from how the classes are coupled, and it would allow also us to create method 
`ActiveMQServerControl#createBridge(BridgeConfiguration)` :), which may be nice 
type safe addition to the JSON string version.


----------------------------------------------------------------
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]


Reply via email to