With these changes, synapse proxy services becomes unavailable.
(When we go to http://localhost:8280/services/ it gives:

2011-01-04 14:25:37,431 [-] [HttpServerWorker-1] ERROR NativeWorkerPool
Uncaught exception
java.lang.NullPointerException
at
org.apache.synapse.transport.nhttp.DefaultHttpGetProcessor.process(DefaultHttpGetProcessor.java:89)
at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:261)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)


This is because of 'HttpGetRequestProcessor''s init() method is not called
and therefore 'ConfigurationContext' is null.
I'm working on a fix for that issue.

On Mon, Jan 3, 2011 at 12:47 PM, Supun Kamburugamuva (JIRA) <[email protected]
> wrote:

>
>     [
> https://issues.apache.org/jira/browse/SYNAPSE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Supun Kamburugamuva resolved SYNAPSE-699.
> -----------------------------------------
>
>    Resolution: Fixed
>
> Applied the patch. Thanks Heshan for the contribution.
>
>
> > 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-ver4.patch, SYNAPSE-699-ver5.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: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Kasun Indrasiri
Senior Software Engineer,
WSO2 Inc. - "Lean . Enterprise . Middleware" - http://www.wso2.com/
Blog : http://kasunpanorama.blogspot.com/

Reply via email to