You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org> on 2010/10/11 18:49:33 UTC

[jira] Created: (SYNAPSE-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

Improve Synapse ServerWorker to have pluggable HTTP Get request processors
--------------------------------------------------------------------------

                 Key: SYNAPSE-699
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
             Project: Synapse
          Issue Type: Improvement
          Components: Core
    Affects Versions: FUTURE
            Reporter: Heshan Suriyaarachchi
             Fix For: FUTURE




-- 
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] Commented: (SYNAPSE-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919910#action_12919910 ] 

Hiranya Jayathilaka commented on SYNAPSE-699:
---------------------------------------------

Can you explain the usecase please?

> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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] Commented: (SYNAPSE-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919905#action_12919905 ] 

Heshan Suriyaarachchi commented on SYNAPSE-699:
-----------------------------------------------

<transportReceiver name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOListener">
        <parameter name="port">8280</parameter>
        <parameter name="non-blocking">true</parameter>
        <!--parameter name="bind-address" locked="false">hostname or IP address</parameter-->
        <!--parameter name="WSDLEPRPrefix" locked="false">https://apachehost:port/somepath</parameter-->
        <!-- paramter name="priorityConfigFile" locked="false">location of priority configuration file<parameter-->
        <parameter name="httpGetProcessor" locked="false">org.apache.synapse.transport.nhttp.HttpGetProcessor</parameter>
</transportReceiver>

With the propsoed improvement, a user can add a parameter named httpGetProcessor to the HttpCoreNIOListener as above and plugin his own implementation of httpGetProcessor. 

> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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] Commented: (SYNAPSE-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921449#action_12921449 ] 

Hiranya Jayathilaka commented on SYNAPSE-699:
---------------------------------------------

Heshan,

Can you please give a valid scenario/usecase for this feature in Synapse? The JIRA description doesn't say why Synapse needs this feature and what problem you are trying to address. Can you please explain how this can be used from Synapse perspective? A sample would be even better. 



> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699-ver2.patch, SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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] Commented: (SYNAPSE-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921229#action_12921229 ] 

Heshan Suriyaarachchi commented on SYNAPSE-699:
-----------------------------------------------

A related discussion can be found here [1]. 

[1] - http://markmail.org/search/?q=list%3Aorg.wso2.carbon-dev#query:list%3Aorg.wso2.carbon-dev+page:1+mid:jiiovmzolakiuvhm+state:results

> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699-ver2.patch, SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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] Commented: (SYNAPSE-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923913#action_12923913 ] 

Heshan Suriyaarachchi commented on SYNAPSE-699:
-----------------------------------------------

Hi Hiranya, 

1) In certain deployments we need to have to block certain wsdls. 

2) In certain other deployments we need to obtain the service url by writing custom code. In a multi-tenant environment we can not use the existing logic to derive the service url. 

Therefore we need to write custom logic to handle these kinds of scenarios. IMV by making the GetProcessors pluggable, we can address these issues. 

> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699-ver2.patch, SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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] Commented: (SYNAPSE-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920100#action_12920100 ] 

Heshan Suriyaarachchi commented on SYNAPSE-699:
-----------------------------------------------

Hi Hiranya, 

In WSO2 Carbon we need to have the capability of having pluggable HTTP Get request processors for different deployments. Therefore we should be able to develop a custom HTTP Get request processor for Synapse. We need to fulfill this requirement inorder to make the WSO2 ESB, multitenant aware. 


> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

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

Heshan Suriyaarachchi updated SYNAPSE-699:
------------------------------------------

    Affects Version/s:     (was: FUTURE)
                       NIGHTLY

> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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] Commented: (SYNAPSE-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920255#action_12920255 ] 

Hiranya Jayathilaka commented on SYNAPSE-699:
---------------------------------------------

Heshan,

I still don't see the usecase. Can you please explain what this feature means to a user? How would a Synapse user use this and benefit from it?


> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

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

Heshan Suriyaarachchi updated SYNAPSE-699:
------------------------------------------

    Description: 
Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 

Regards, 
Heshan. 

> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: FUTURE
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

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

Heshan Suriyaarachchi updated SYNAPSE-699:
------------------------------------------

    Attachment: SYNAPSE-699-ver2.patch

There were some changes made to ServerWorker. Therefore when applying the patch to the Synapse trunk, there were some conflicts. Reattaching the patch with the modifications.

Regards,
Heshan. 



> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699-ver2.patch, SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

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

Heshan Suriyaarachchi updated SYNAPSE-699:
------------------------------------------

    Attachment: SYNAPSE-699.patch

Attaching the patch. 

Regards,
Heshan.

> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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-699) Improve Synapse ServerWorker to have pluggable HTTP Get request processors

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

Heshan Suriyaarachchi updated SYNAPSE-699:
------------------------------------------

    Attachment: SYNAPSE-699-ver3.patch

I came across a minor issue, when testing the patch. Reattaching the patch with the fix. 

> Improve Synapse ServerWorker to have pluggable HTTP Get request processors
> --------------------------------------------------------------------------
>
>                 Key: SYNAPSE-699
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-699
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: NIGHTLY
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>
>         Attachments: SYNAPSE-699-ver2.patch, SYNAPSE-699-ver3.patch, SYNAPSE-699.patch
>
>
> Currently Synapse doesn't support a mechanism of adding custom Http Get processors. I am working on an improvement which will enhance Synapse in such a way that a user can write his own Http Get processor and work with it against Synapse. 
> Regards, 
> Heshan. 

-- 
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