synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upul Godage" <upulg....@gmail.com>
Subject Re: Content based routing
Date Mon, 04 Feb 2008 14:16:21 GMT
May be something like this will do.

<definitions xmlns="http://ws.apache.org/ns/synapse">
    <in>
        <header name="To" expression="fn:concat('https://10.192.12.89',
get-property('To'))"/>
    </in>

    <send/>
</definitions>

Upul

On Feb 4, 2008 2:07 PM, Venkatesan, Kumaran <
Kumaran.Venkatesan@in.standardchartered.com> wrote:

>  Hi,
>
>
>
> We are facing issue in routing requests. The requirement is to route the
> hit on synapse to the services deployed on different host.
>
>
>
> This could be achieved by content based routing, but the case is to handle
> hundreds of services like below.
>
>
>
> For example,
>
>
>
> https://tradeti.stdcom/services/updateUser (hit<https://tradeti.std.com/services/updateUser%20%28hit>to
synapse) to
> https://10.192.12.89/services/updateUser (backend internal systems)
>
> https://tradeti.std.com/services/addUser to
> https://10.192.12.89/services/addUser
>
> https://tradeti.std.com/services/deleteUser to
> https://10.192.12.89/services/deleteUser etc.,
>
>
>  This email and any attachments are confidential and may also be
> privileged. If you are not the addressee, do not disclose, copy, circulate
> or in any other way use or rely on the information contained in this email
> or any attachments. If received in error, notify the sender immediately and
> delete this email and any attachments from your system. Emails cannot be
> guaranteed to be secure or error free as the message and any attachments
> could be intercepted, corrupted, lost, delayed, incomplete or amended.
> Standard Chartered PLC and its subsidiaries do not accept liability for
> damage caused by this email or any attachments and may monitor email
> traffic.
>
>
>
> Standard Chartered PLC is incorporated in England with limited liability
> under company number 966425 and has its registered office at 1 Aldermanbury
> Square, London, EC2V 7SB.
>
>
>
> Standard Chartered Bank ("SCB") is incorporated in England with limited
> liability by Royal Charter 1853, under reference ZC18. The Principal Office
> of SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In
> the United Kingdom, SCB is authorised and regulated by the Financial
> Services Authority under FSA register number 114276.
>
>
>
> If you are receiving this email from SCB outside the UK, please click
> http://www.standardchartered.com/global/email_disclaimer.html to refer to
> the information on other jurisdictions.
>

Mime
View raw message