[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Dependency between ClusteredPostOfficeService, ServerPeer an

clebert.suconic@jboss.com do-not-reply at jboss.com
Fri Dec 1 18:57:15 EST 2006


The recent changes on HA, especially adding the concept of Replicator, added a dependency of ClusteredPostOffice on ConnectionFactoryJNDIMapper.

The ConnectionFActoryJNDIMapper is started by ServerPeer what causes a circular dependency between ServerPeer and ClusteredPostOffice.

The right way to fix this would be having an injected dependency (it would be cool to have PojoContainer here). Right now I'm changing the code to make ConnectinFActoryJNDIMapper to get and register replicator lazyli... but that's not the right thing (just one thing to have it running now).

The right change would be to have ClusterPostOffice injecting replicator on ConnectionFActoryJNDIMapper. If we don't go to PojoContainer soon we should think about doing that. If Tim Fox is cool about that I will make this change next week until we have MicroContainer integrated.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990684#3990684

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990684



More information about the jboss-dev-forums mailing list