1 Reply Latest reply on May 24, 2010 11:19 AM by Bret Victim

    Clustering in 4.2

    Bret Victim Newbie

      I am trying to implement basic clustering in ESB 4.2. and I'm using the cxf-camel-nmr example to experiment with. Questions:

       

      1) Is clustering possible using this example?

      2) If not can someone point me to a complete, working example?

      2) If so, can an instance of the 'myTransform' bean  be clustered?

      3) Can an instance of the 'helloWorld' jaxws:endpoint be clustered?

      4) Referring to the doc 'http://fusesource.com/docs/esb/4.1/migration/ESBMigrationCluster.html' , I have tried to configure a OsgiSimpleClusterRegistration bean using the following example:

       

       

       

       

      Thanks very much.

        • 1. Re: Clustering in 4.2
          Bret Victim Newbie

          In the cxf-camel-nmr example, attempting to register the jaxws endpoint

           

           

           

           

          ... produces the following exception:

           

          org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.servicemix.jbi.cluster.engine.OsgiSimpleClusterRegistration

          #0' defined in URL bundleentry://279.fwk30844270/META-INF/spring/beans.xml: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: one field to match on must be set

          ....

           

          So, how do I register HelloWorldImpl ??