On 06/28/2013 03:34 PM, Andrew Stitcher wrote:
I think my point is that although it forces some decoupling, it doesn't force enough decoupling to make effective plugin modules.
The decoupling it does force is useful however, even if not sufficient. [...]
And even when we introduce the registries it is hard work to go back and fit them to the previous code. Viz the old Amqp 0-10 support does not use the new protocol object factory. So that we've ended up with both approaches to understand and maintain.
The Protocol/ProtocolRegistry and the ObjectFactory (two different things) introduced a way of extending the existing monolithic broker. I'm not sure its entirely fair to say there are two different approaches.
The existing 0-10 support could - in my view, should - eventually be made optional. We need _more_ modularity.
The fact that we already have large blocks of monolithic code shouldn't hold us back from trying to ensure that new functionality doesn't simply magnify the problem. In practice, plugins have provided significant impetus for improvement in this regard.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
