I think it is OK to be (or may be it should be) blocking for the local transport. Using the local transport means that you have the service on the same JVM and I don't think we want to add the overhead of non blocking when the business logic or the service is on the same JVM.

Anyway the first step should be to get the existing local transport to work with the ESB, nhttp.

Ruwan

On 1/12/11 12:22 PM, Amila Suriarachchi wrote:


On Wed, Jan 12, 2011 at 10:34 AM, Hiranya Jayathilaka <[email protected] <mailto:[email protected]>> wrote:



    On Wed, Jan 12, 2011 at 10:32 AM, Supun Kamburugamuva
    <[email protected] <mailto:[email protected]>> wrote:

        On Wed, Jan 12, 2011 at 9:10 AM, Amila Suriarachchi
        <[email protected] <mailto:[email protected]>> wrote:
        >
        >
        > On Tue, Jan 11, 2011 at 5:42 PM, Supun Kamburugamuva
        <[email protected] <mailto:[email protected]>> wrote:
        >>
        >> On Tue, Jan 11, 2011 at 8:26 AM, Amila Suriarachchi
        <[email protected] <mailto:[email protected]>>
        >> wrote:
        >> >
        >> >
        >> > On Mon, Jan 10, 2011 at 6:41 PM, Heshan Suriyaarachchi
        <[email protected] <mailto:[email protected]>>
        >> > wrote:
        >> >>
        >> >> Hi,
        >> >>
        >> >> As you might know, we are having a local transport
        implementation in
        >> >> Axis2. We are trying to make it available for ESB. Then
        with the help
        >> >> of
        >> >> this transport; an esb proxy will be able to call a
        proxy residing in
        >> >> the
        >> >> same esb through the local transport. I have tested the
        above mentioned
        >> >> scenario with a ESB build and came across some issues.
        Therefore I need
        >> >> to
        >> >> investigate in to these issues and fix them. I will keep
        the list
        >> >> updated
        >> >> with the progress.
        >> >
        >> > Axis2 local transport is blocking. So you may need to
        write a non
        >> > blocking
        >> > local transport with works smoothly with synapse nhttp
        transport.
        >>
        >> We are trying to improve the existing transport to work in a
        >> non-blocking manner.
        >
        > Well. if you work with Axis2 service client then the
        transport should be
        > blocking. The same problem we have using
        > service client with nhttp. Better to write a new nlocal
        transport :).
        >

        But from the synapse perspective we have a operation client
        that can
        handle a non blocking invocation. This is the client that we
        use for
        nhttp transport. So it should work with a non blocking sender
        of local
        transport.


    +1

    NHTTP transport and the UDP transport are the only non-blocking
    transports available. Almost all other transports (eg: JMS, TCP,
    Servlet transport) are blocking.


This is not relevant to this thread.

Lets say we have a proxy service which receive messages from http and send messages through JMS. And also there are many proxy services which receive messages using http send as http.

I think in that case this blocking JMS transport can blocks all the http worker threads and hence down grade the performance.

thanks,
Amila.

    And ESB works fine with all of them.

    Thanks,
    Hiranya


        Thanks,
        Supun...

        > thanks,
        > Amila.
        >>
        >> Thanks,
        >> Supun..
        >>
        >> >
        >> > thanks,
        >> > Amila.
        >> >>
        >> >>
        >> >> --
        >> >> Regards,
        >> >> Heshan Suriyaarachchi
        >> >> Software Engineer
        >> >> WSO2 Inc.; http://wso2.com/
        >> >>
        >> >> Blog: http://heshans.blogspot.com/
        >> >>
        >> >> _______________________________________________
        >> >> Carbon-dev mailing list
        >> >> [email protected] <mailto:[email protected]>
        >> >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
        >> >>
        >> >
        >> >
        >> > _______________________________________________
        >> > Carbon-dev mailing list
        >> > [email protected] <mailto:[email protected]>
        >> > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
        >> >
        >> >
        >>
        >>
        >>
        >> --
        >> Supun Kamburugamuva
        >> Technical Lead
        >> WSO2 Inc.; http://wso2.org
        >> E-mail: [email protected] <mailto:[email protected]>;  Mobile:
        +94 77 431 3585
        >> Blog: http://supunk.blogspot.com
        >> _______________________________________________
        >> Carbon-dev mailing list
        >> [email protected] <mailto:[email protected]>
        >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
        >
        >
        > _______________________________________________
        > Carbon-dev mailing list
        > [email protected] <mailto:[email protected]>
        > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
        >
        >



        --
        Supun Kamburugamuva
        Technical Lead
        WSO2 Inc.; http://wso2.org
        E-mail: [email protected] <mailto:[email protected]>;  Mobile: +94
        77 431 3585
        Blog: http://supunk.blogspot.com
        _______________________________________________
        Carbon-dev mailing list
        [email protected] <mailto:[email protected]>
        https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- Hiranya Jayathilaka
    Senior Software Engineer;
    WSO2 Inc.; http://wso2.org
    E-mail: [email protected] <mailto:[email protected]>;  Mobile: +94
    77 633 3491
    Blog: http://techfeast-hiranya.blogspot.com

    _______________________________________________
    Carbon-dev mailing list
    [email protected] <mailto:[email protected]>
    https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev



_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


--
Ruwan Linton
Software Architect&  Product Manager
WSO2 Inc.;http://wso2.com

Lean . Enterprise . Middleware

phone: +1 408 754 7388 ext 51789
email:[email protected]; cell: +94 77 341 3097
blog:http://blog.ruwan.org
linkedin:http://www.linkedin.com/in/ruwanlinton
tweet:http://twitter.com/ruwanlinton

_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to