axis2 - WSO2 ESB: route to specific node -
i have wso2 esb , elb instances installed.
when http request comes esb, opens socket , waits response.
if elb instantiates new esb, response can go esb #2 (instead of #1) , find there no socket connection.
how route response esb #1?
[edit]
have implemented custom axis2 transport, has class customtransportlistener
. there list
of opened socket connections, wait response. reason why esb #1 can handle response.
each esb in esb cluster behind elb same not matter esb node in cluster serves request. purpose of elb automatically balance load , make complexities of cluster not seen not provide way specify specific node should receive response.
it not possible send request specific esb in cluster through elb because elb uses round robin algorithm dispatch request esb cluster can not gurantee specific esb node request. in opinoin not think idea make esb's in same cluster different each other :).
Comments
Post a Comment