[ 
https://issues.apache.org/jira/browse/AXIS2-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991118#comment-12991118
 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4944:
-----------------------------------------------------

Axis2 local transport is written to invoke a service within the same 
AxisConfiguration without going through the http. As all the other transports 
it also assumes transport invocation is blocking. What I mean blocking is 
transport sender thread blocks until the response comes.

But think about a scenario where some service invokes a synapse proxy service 
which talk to an http end point using nhttp transport. Since nhttp is not 
blocking the thread returns before getting the response. Therefore 
LocalTransportResponder has to create an message context and inject the 
response once it comes. 

Heshan please attach a sample synapse configuration file which explains this 
situation.


> Improve Axis2 local transport to work with Apache Synapse's nhttp transport 
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2-4944
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4944
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>    Affects Versions: nightly
>         Environment: Ubuntu 10.04
> Sun JDK 1.6
>            Reporter: Heshan Suriyaarachchi
>            Assignee: Ruwan Linton
>             Fix For: 1.6
>
>         Attachments: AXIS2-4944-patch-ver2.txt, AXIS2-4944-patch-ver3.txt, 
> AXIS2-4944-patch.txt
>
>
> Currently we can not use the axis2 local-transport with Apache Synapse's 
> nhttp transport.  
> I am looking into improving the existing local-transport of axis2 to work 
> with nhttp transport. 
> I will provide a patch to fix this. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to