There is difference between my mediator and the failover ednpoint... In fact, in case of fail, the failover endpoint works with endpoints that use the same parameters, my mediator should work with similar but not equal endpoints. e.g.:With failover endpoint all services must accept integer parameters, with my mediator a service can work with integers, another with floats and so on...
pzfreo wrote: > > Andrea > > I think the function you are writing is already there. Its called a > failover endpoint. > > Please see this code: > http://synapse.apache.org/apidocs/org/apache/synapse/endpoints/FailoverEndpoint.html > https://svn.apache.org/repos/asf/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/endpoints/FailoverEndpoint.java > > Paul > > > On Wed, Oct 15, 2008 at 12:58 PM, Andrea_P <[EMAIL PROTECTED]> > wrote: >> >> Hi everyone!! >> I've encountered a problem when I've tried to write a custom mediator. >> My mediator should implement a new version of the standard send mediator; >> when the send, to the current endpoint, fails the mediator should find >> itself a new endpoint to which send the same message. The new endpoint >> should have similar characteristics of the original endpoint. >> But I don't find, in the source code on the official site, some methods >> to >> understand if the endpoint is active or not. >> Moreover I've tryed some methods to modify the SOAP message addressed to >> Synapse (i.e. I want to add the tag "To"), but nothing seems to work. >> Thanks, >> Andrea. >> -- >> View this message in context: >> http://www.nabble.com/Extending-Synapse---Write-a-new-mediator-tp19992050p19992050.html >> Sent from the Synapse - Dev mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Extending-Synapse---Write-a-new-mediator-tp19992050p19994203.html Sent from the Synapse - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
