1 Reply Latest reply on Nov 11, 2012 8:55 AM by heyw

    Multiple remoting connections for EJB clients

    developer251

      Hi all JBoss users!

      I was reading across the EJB client docs and I just wonder, in case I have multiple available EJB receivers such as:

       

      remote.connections=machine1,machine2

      remote.connection.machine1.host=192.168.1.1

      remote.connection.machine2.host=192.168.1.2

      remote.connection.machine1.port = 4447

      remote.connection.machine2.port = 4457

       

      Is it possible to code or configure a rule for distributing load between the two connections ? (e.g. 70% to machine1 and 30% to machine2)

      Thanks a lot

      Max