2 Replies Latest reply on Oct 25, 2011 2:36 AM by atan20

    Sticky Sessions

    atan20

      Hi,

       

      I am using JBoss SOA-P in a clustered environment where clients are invoking services via the ServiceInvoker and I was wondering if it is possible to implement "sticky session" functionality?

       

      For example, after a client has invoked a service on a JBoss SOA-P server in the cluster (Server A) all subsequent calls from that client to the cluster will be directed to the same server (Server A).

       

      Would this be something that is configured in JBoss JMS? The only similar concept that I have found so far is "stick sessions using a HTTP gateway" and session replication, which is not what we are after.

       

      Thanks.

        • 1. Re: Sticky Sessions
          tcunning

          This isn't provided out of the box, but load balancer strategies are customizable - you could write your own to do this.

          1 of 1 people found this helpful
          • 2. Re: Sticky Sessions
            atan20

            I have been looking through the ServiceInvoker's load balancing policies and the source code for the ServiceInvoker and it seems like the "FirstAvailable" profile is what I am after.