If I understand your requirement correctly, you have two endpoints say e1, e2. You want the first request to be send to end pint e2 and second request to be sent to endpoint e2. If so you can use ESB Load Balancer Endpoint mediator [1]. If this is not what you want, could you explain your requirement more.
[1] https://docs.wso2.org/display/ESB403/Load-balance+Endpoint On Fri, Apr 11, 2014 at 8:00 AM, Aliosha <[email protected]> wrote: > In my use case i'm facing up to this problem: Im in a cluster > configuration: ESB worker1, ESB worker2 (balanced by the elb) and > ESB-Manager for the configuration propagation. > > I have 2 endpoints: the main one and the secondary one pointing > respectively to main system and the secondary system > > On the ESB-Manager ESB a proxy invoked each time the main system puts it's > status in ERROR MODE (or whatever it wants). In this way the ESB MANAGER > should be able to inform the two ESB Workers in order to forward the next > requestes to the secondary endpoint. > > Of course the "error system status" has to be registered into the esb in > order that when an incoming request occurs it can check the status-value > and decide where to recirect the requestes. > > How can i do that? > > i Thought about property mediator, but the available scopes make me able > just to check the STATUS accross the inSequence and outSequence boundary > inside a proxy. > > So i thought to use the local registry. But in what way i can create and > update a registry properties (or a local entry) taking into consideration > that the STATUS PROPERTY have to be propagated to the ESB WORKERs? > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
