1 Reply Latest reply on May 18, 2007 10:21 AM by Tim Fox

    Default connection factories and clustering

    Tim Fox Master

      Currently the default connection factory at /Connectionfactory and /XAConnectionFactory supports both automatic failover and load balancing.

      Instead I want to change the default connection factory to not support either automatic failover or clustering, and provide another connection factory that users can use if they want to that DOES support failover and clustering.

      This can be done by adding new attributes supportsLoadBalancing and supportsFailover on the connection factory and changing the connection-factories-service.xml file.

      The reason I am doing this is as follows:

      1) We don't want to break existing applications that work with JBoss MQ that will not be expecting transparent failover

      2) We won't break remote MDB installations. Due to a bug in JCA/MDB container which uses more than one connection per MDB, so is not compatible with load balancing see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046775#4046775