1 Reply Latest reply on Oct 15, 2007 5:27 PM by timfox

    LoadBalancingFactory - JBoss Messaging 1.4

    rarondini

      Hi All,

      I'm try to perform some tests with ClusteredConnectionFactory. When I use RoundRobinLoadBalancingFactory, the test work fine.

      So, when I try to use NoLoadBalancingLoadBalancingFactory, an INFO appear when jboss is starting. The INFO is :

      org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@13244cd on mbean jboss.messaging.connectionfactory:service=ClusteredConnectionFactory; - nested throwable: (java.lang.InstantiationException: org.jboss.jms.client.plugin.NoLoadBalancingLoadBalancingFactory)
      .

      The configuration is like this :
       <attribute name="SupportsLoadBalancing">true</attribute>
       <attribute name="LoadBalancingFactory">org.jboss.jms.client.plugin.NoLoadBalancingLoadBalancingFactory</attribute>
      



      Thanks
      Rogério Rondini