Ooohh, I'm sorry. Here is the link.
http://wso2.org/library/2898 Thanks, Ruwan On Wed, Aug 3, 2011 at 2:58 PM, De Vleeschauwer Nele < [email protected]> wrote: > Hi, > > I want to use the class mediator... Inside your previous post, there is > 2 times the same URL... Could you sent also the url for the second > article ? > > Thanks ! > > -----Original Message----- > From: Ruwan Linton [mailto:[email protected]] > Sent: woensdag 3 augustus 2011 11:16 > To: [email protected] > Subject: Re: Custom Mediator > > The answer to your question depends on how you want the custom mediator > that > you wrote to be configured. > > That is, if you want a custom configuration for the mediator to be used > in a > sequence, like follows; > > <foo name="bar" blah="abc"/> > > Then you need to write a MediatorFactory and a MediatorSerializer to > support > the XML configuration. If not you can use the class mediator in synapse > to > call the custom mediator you wrote. > > You may find the following 2 articles useful; > > http://wso2.org/library/2936 > http://wso2.org/library/2936 > > While the first one describes the former approach where you can use the > class mediator to call the custom mediator you wrote, the second article > walks you through the first approach of giving a custom configuration to > it. > > Ruwan > > On Wed, Aug 3, 2011 at 2:19 PM, De Vleeschauwer Nele < > [email protected]> wrote: > > > Hi, > > > > I've just created my own custom mediator class (based on the > > org.apache.synapse.Mediator interface), but it's not quite clear to me > > how I should proceed further. Should I configure this class somewhere > > before I can use it in one of my proxy services ? > > > > Any help is welcome... > > > > > > > > ----------------------------------------- > > Visit our website! http://www.nbb.be > > > > "DISCLAIMER: The content of this e-mail message should not be > > construed as binding on the part of the National Bank of Belgium > > (NBB) unless otherwise and previously stated. The opinions > > expressed in this message are solely those of the author and do not > > necessarily reflect NBB viewpoints, particularly when the content > > of this message, or part thereof, is private by nature or does not > > fall within the professional scope of its author." > > > > > -- > Ruwan Linton > Member, Apache Software Foundation; http://www.apache.org > <http://wso2.org> > > phone: +94 11 282 7532 > email: [email protected]; cell: +94 77 341 3097 > blog: http://blog.ruwan.org > linkedin: http://www.linkedin.com/in/ruwanlinton > google: http://www.google.com/profiles/ruwan.linton > tweet: http://twitter.com/ruwanlinton > -- Ruwan Linton Member, Apache Software Foundation; http://www.apache.org <http://wso2.org> phone: +94 11 282 7532 email: [email protected]; cell: +94 77 341 3097 blog: http://blog.ruwan.org linkedin: http://www.linkedin.com/in/ruwanlinton google: http://www.google.com/profiles/ruwan.linton tweet: http://twitter.com/ruwanlinton
