Hi, It's a thread from a thread pool that would do that task. I have corrected the diagram.
Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd On Fri, Jul 25, 2014 at 11:51 PM, Kasun Indrasiri <[email protected]> wrote: > > > > On Fri, Jul 25, 2014 at 12:02 PM, Sandamal Weerasinghe <[email protected]> > wrote: > >> Hi all, >> >> Following the is the high level design of the RM-Inbound-Endpoint that >> I'm developing for the WSO2 ESB. This is to be used in a scenario where the >> client supports RM, but the back-end service does not. >> >> RM-IE Overview >> <https://docs.google.com/a/wso2.com/drawings/d/1WrVsRqtzG_fKHvyt_v3YAovgvKaLoVGvlLm55qlmXbg/edit?usp=drive_web> >> >> *Operation* >> >> - Configure the inbound endpoint in synapse.xml >> - Start the ESB and it will listen for the http port configured in >> the inbound configuration. >> >> >> *Request Path * >> >> - An endpoint that supports RM is created using a dummy service class >> - An Invoker intercepts and suspends requests that come to the >> endpoint >> - InboundSourceRequest objects are created for each request message >> received. >> - Those objects are sent to a ServerWorker in order create Synapse >> Message Contexts out of HttpRequests and to be injected to the insequence >> specified by the user. >> >> Why do we need a ServerWorker here? I guess its not something related to > CXF. We should be able to create the ctx and inject to the specified > sequence straight away. > >> >> * Response Path* >> >> - The responses are injected to the out sequence specified by the user >> - The received responses are intercepted at the Axis2Sender >> - The response is set in its respective request message that was >> suspended earlier. >> - The suspended request is resumed. >> >> >> - >> >> Thanks. >> >> Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd >> > > > > -- > Kasun Indrasiri > Software Architect > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > cell: +94 77 556 5206 > Blog : http://kasunpanorama.blogspot.com/ >
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
