[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-674 - Propagating changes on ClusteredConnec

timfox do-not-reply at jboss.com
Sat Jan 20 13:41:46 EST 2007


Clebert-

I just tried to deploy the scoped sar in JBAS and it fails, complaining that it cannot find a property editor for ConnectionFactory::setLoadBalancingFactory.

Looking at the code, the method setLoadBalancingFactory() takes a LoadBalancingFactory, but the MBean method takes a String.

I have fixed this, so I can get on with my work. You may want to review my fix since it was very quick.

This tells me one thing, you added an MBean attribute without adding a corresponding test for it.

All new functionality needs to have unit tests, so please could you add a test.

Cheers.

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

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



More information about the jboss-dev-forums mailing list