Hi Sachith,

The behavior you are looking for is known as Source IP affinity, and that
can be achieved using Load-balance Endpoint. Refer [1]

[1]
https://docs.wso2.com/display/ESB481/Sample+54%3A+Session+Affinity+Load+Balancing+between+Three+Endpoints

Regards,
Grainier

On Mon, Aug 10, 2015 at 12:35 PM, Sachith Punchihewa <[email protected]>
wrote:

> Hi All,
> I have followed the Point-to-Point Channel EIP tutorial on [1]. According
> to the settings provided, the load balancing picks up an endpoint randomly
> (using Round robin) to serve the request. However, subsequent requests
> originating from the same location (IP) might not be served using the same
> endpoint.
>
> In a situation where you want to make sure that all the requests
> originating from the same location should be served using the same
> endpoint, how to configure the load balancing to guarantee this behavior?
>
> [1]
> https://docs.wso2.com/display/IntegrationPatterns/Point-to-Point+Channel
> <https://www.google.com/url?q=https%3A%2F%2Fdocs.wso2.com%2Fdisplay%2FIntegrationPatterns%2FPoint-to-Point%2BChannel&sa=D&sntz=1&usg=AFQjCNFgkjciudOQGz4LkCsnxris78m4Yg>
>
> Thanks and Regards.
>
> Kamidu Sachith Punchihewa
> *Software Engineer*
> WSO2, Inc.
> lean . enterprise . middleware
> Mobile : +94 (0) 770566749 <%2B94%20%280%29%20773%20451194>
>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, retransmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Grainier Perera
Software Engineer
Mobile : +94716122384
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to