posted 11 years ago
Hi,
My application is deployed onto WAS61 having 4 JVM instances in place. My requirement is to capture Instant messaging presence of certain number of users in application. As per application logic I will have to maintain certain no. of generic userids using which I can subscribe to users presence.
However, at JVM startup I will have to start/login all generic userids and should made available for incoming presence subscription requests. As a basic IM Presence concept, any two JVM instances cannot have same generic userid allocated and running on it. If there is a case where the number of generic userids is 2, considering one generic userid per JVM instance then, I'm just wondering on how to handle any presence subscription request comes to other 2 JVM instances where no generic userid is allocated and running on it.
To explain more:
JVM 1 - GenericUser1
JVM 2 - GenericUser2
JVM 3 - None
JVM 4 - None
My request comes to JVM 3 instance, but anyways I will have to subscribe this request to either GenericUser1 or GenericUser2 that are running on JVM 1 and JVM 2. So, is there anyways of handling these kind of requests so that routing them from one JVM to another JVM where our generic clients are available for serving the requests.
Thanks in advance,
Jaya Krishna