Hi, Usually when there are two fail-over endpoins following we are getting in messagecontext.
property key : synapse.internal.request.sending value : false property key : ERROR_DETAIL value : Connection refused or failed for : localhost/127.0.0.1:9001, IO Exception occured : Connection refused property key : last_endpoint value : Endpoint [ec02] property key : proxy.name value : ebay1 property key : ERROR_CODE value : 101503 property key : ERROR_MESSAGE value : Connection refused or failed for : localhost/127.0.0.1:9001, IO Exception occured : Connection refused property key : SENDING_FAULT value : true Last endpoint and previous endpoint error. Can we add a new property in FailoverEndpoint.java. Maybe a collection to contain all the information about endpoint history? Best Regards, Malaka On Sat, Nov 9, 2013 at 10:46 AM, Malaka Silva <[email protected]> wrote: > The info is for per request. > > They have their own logging inside mediator. > > > On Sat, Nov 9, 2013 at 9:00 AM, Miyuru Wanninayaka <[email protected]>wrote: > >> Do u need to get this info per request or aggregated? >> >> -- >> Sent from my mobile >> On Nov 8, 2013 7:13 PM, "Malaka Silva" <[email protected]> wrote: >> >>> Hi, >>> >>> After calling a fail-over endpoint I'm having a class mediator. >>> >>> In the class mediator I need to get the endpoints that were failed and >>> passed. (Along with the HTTP status codes) >>> >>> Can I get the required info from messagecontext? >>> >>> Have anyone done this before? >>> >>> Thank you. >>> >>> -- >>> Best Regards, >>> >>> Malaka Silva >>> Senior Tech Lead >>> M: +94 777 219 791 >>> Tel : 94 11 214 5345 >>> Fax :94 11 2145300 >>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 >>> Blog : http://mrmalakasilva.blogspot.com/ >>> >>> WSO2, Inc. >>> lean . enterprise . middleware >>> http://www.wso2.com/ >>> >> > > > -- > Best Regards, > > Malaka Silva > Senior Tech Lead > M: +94 777 219 791 > Tel : 94 11 214 5345 > Fax :94 11 2145300 > LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 > Blog : http://mrmalakasilva.blogspot.com/ > > WSO2, Inc. > lean . enterprise . middleware > http://www.wso2.com/ > -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
