You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Sameera Jayasoma (JIRA)" <ji...@apache.org> on 2010/09/21 11:07:34 UTC

[jira] Created: (SYNAPSE-686) Issue when using the DynamicLordBalancingEndpoint to handl REST message.

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


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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-686) Issue when using the DynamicLordBalancingEndpoint to handl REST message.

Posted by "Sameera Jayasoma (JIRA)" <ji...@apache.org>.
     [ 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-686) Issue when using the DynamicLordBalancingEndpoint to handl REST message.

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva reassigned SYNAPSE-686:
-------------------------------------------

    Assignee: Supun Kamburugamuva

> 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
>            Assignee: Supun Kamburugamuva
>             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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-686) Issue when using the DynamicLordBalancingEndpoint to handl REST message.

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva resolved SYNAPSE-686.
-----------------------------------------

    Resolution: Fixed

Applied the patch. Thanks Sameera for the contribution.

> 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
>            Assignee: Supun Kamburugamuva
>             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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org