You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Miyuru Wanninayaka (JIRA)" <ji...@apache.org> on 2013/08/02 05:35:49 UTC

[jira] [Commented] (SYNAPSE-567) Preserve Request URL string (file path) in Load balancing/ Fail over endpoint

    [ https://issues.apache.org/jira/browse/SYNAPSE-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727279#comment-13727279 ] 

Miyuru Wanninayaka commented on SYNAPSE-567:
--------------------------------------------

This patch was submitted by me during synapse learning era. I guess we can achieve same behavior using REST_URL_PREFIX ? 
                
> Preserve Request URL string (file path) in Load balancing/ Fail over endpoint
> -----------------------------------------------------------------------------
>
>                 Key: SYNAPSE-567
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-567
>             Project: Synapse
>          Issue Type: Bug
>         Environment: any
>            Reporter: Srinath Perera
>            Assignee: Miyuru Wanninayaka
>         Attachments: diff_1.2.txt, diff_1.3.txt, diff_trunk.txt
>
>
> When I specify a load balancing (or Failover) endpoint, we should be able to ask Synapse to replace only IP and the port? Basically, the service has many different requests, and we want Synapse to preserve the request URL of the incoming message. 
> One way to do this is to define some parameters and let users use those in the endpoint address. For instance, say parameter is called INCOMING_URL_PATH, then users can define endpoints like. 
> <endpoint>
>     <address uri="https://localhost:8852/$INCOMING_URL_PATH">
>     </address>
> </endpoint>
> This is very useful when supporting HTTP and REST requests as they have dynamic URLs. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org