[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to