Hi Laurent,

You can find the URLRewrite Mediator with documentation at the
esbsite.orgat [1].

[1] -
http://esbsite.org/resources.jsp?path=/mediators/thilinamb/URLRewrite%20Mediator

Thanks,
Ruwan

On Fri, Mar 14, 2008 at 7:31 PM, Laurent CHARTIER <
[EMAIL PROTECTED]> wrote:

> If I log the To property, then it is good (/soap/R5WSService).
> The only thing I want to change is the target Host (http://localhost:8219->
> http://170.217.251.101:8210).
> If I have an endpoint to the send mediator, it seems that the To property
> is
> flushed and replaced by the endpoint uri (http://170.217.251.101:8210).
> I don't know how to update the host without modifying the To property...
> Could you tell me?
>
> Is there some new informations about the "mod rewrite" mediator?
>
> Laurent.
>
>
> -----Message d'origine-----
> De : Asankha C. Perera [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 20 février 2008 15:15
> À : user@synapse.apache.org
> Objet : Re: Generic Proxy
>
>
> Hi Laurent
> > I'm interested in a generic proxy.
> > My needs are to mediate the message (in order to log some
> > informations) and then to route to another server. It seems that I
> > must declare one proxy for each service in the synapse configuration.
> > Is there a way to declare just one proxy to only switch the host and not
> the
> > path?
> >
> Sure, you can use the 'message mediation' feature of Synapse for this
> (
> http://synapse.apache.org/Synapse_Configuration_Language.html#a_message_med
> iation)
>
> Thus, the sequence named "main" accepts / handles any message not
> dispatched to a proxy service. You can then use Synapse to re-write the
> To address as appropriate, and I am informed that a university student
> is currently writing a mediator which can do just this very simply -
> e.g. like mod reqrite.. This mediator should be available in the next
> week..
>
> asankha
>
>
>
>
> Ce message est protégé par les règles relatives au secret des
> correspondances. Il est donc établi à destination exclusive de son
> destinataire. Celui-ci peut donc contenir des informations confidentielles.
> La divulgation de ces informations est à ce titre rigoureusement interdite.
> Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur
> dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que
> toute pièce jointe.
>
> This message is protected by the secrecy of correspondence rules.
> Therefore, this message is intended solely for the attention of the
> addressee. This message may contain privileged or confidential information,
> as such the disclosure of these informations is strictly forbidden. If, by
> mistake, you have received this message, please return this message to the
> addressser whose e-mail address is written above and destroy this message
> and all files attached.
>
>
>


-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Reply via email to