[
https://issues.apache.org/jira/browse/SYNAPSE-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sameera Jayasoma updated SYNAPSE-686:
-------------------------------------
Attachment: patch.txt
Herewith I have attached patch which provides a workaround for this issue. If
we remove the value of the REST_URL_POSTFIX property from the
axis2MessageContext, this works as expected.
> Issue when using the DynamicLordBalancingEndpoint to handl REST message.
> ------------------------------------------------------------------------
>
> Key: SYNAPSE-686
> URL: https://issues.apache.org/jira/browse/SYNAPSE-686
> Project: Synapse
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0
> Reporter: Sameera Jayasoma
> Fix For: 2.0
>
> Attachments: patch.txt
>
>
> When you try to load balance REST message, the path section is repeated in
> the toAddress.
> e.d
> original URI
> http://localhost:8280/example/index.html
> When synapse send the message to the actual endpoint, URI become something
> like following.
> http://localhost:8280/example/index.html/example/index.html
> In the DynamicLoadBalancingEndpoint we create an Endpoint for each and every
> request and set the complete URI as the to address.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]