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

Heshan Suriyaarachchi commented on AXIS2-4944:
----------------------------------------------

Hi Andreas, 

The NonBlockingLocalTransportSender is used to talk to a proxy service from 
another proxy service. Since the nhttp transport is written in a non blocking 
manner, NonBlockingLocalTransport will work against nhttp transport. Since, we 
are using this TransportSender to talk between proxy services, it's difficult 
to come up with a test case (test client) for this particular usecase.

Since we are using NonBlockingLocalTransportSender to handle a special case (in 
which we are working against a non-blocking transport), the LocalTransportTest 
test  will fail for NonBlockingLocalTransportSender.  Please refer Axis-dev for 
the discussion we had on [1] where we discussed this in-detail. 

The main reason for doing this local-transport related change at axis2 level is 
to remove the code duplication. Otherwise if we move the 
NonBlockingLocalTransport related logic to Synapse, we might have to duplicate 
the same local-transport related code there and improve it.  

If we dont include this improvement into Axis2-local transport, then we have to 
improve the local transport in such a way that a user should be able to 
extended the local transport implementation and write a custom implementation. 
That will help us to move the Synapse specific local transport to Synapse 
itself. 

[1] - http://markmail.org/thread/qigfb5asu22qestz

> 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.7.0
>
>         Attachments: AXIS2-4944-patch-ver2.txt, AXIS2-4944-patch-ver3.txt, 
> AXIS2-4944-patch-ver5.txt, AXIS2-4944-patch.txt, synapse.xml
>
>
> 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