I have a scenario where Client1 connects to a JB6 cluster, establishes a sort of session ID on the server side and hands it over to Client2.
One of the requirements is to ensure Client2 connects to the same node as Client1 to avoid any latencies caused by the cache replication process.
The plan is to retrieve some sort of node pointer from Client1 connection, pass it on to Client2, and connect Client2 using the pointer.
First part can probably be achieved by getting hold of the client-side interceptor object (but how?). Second part can probably be achieved using org.jboss.ha.framework.interfaces.LoadBalancePolicy.
Any pointers on the best way to implement something like this?
Retrieving data ...