Hi Thushara

When you use a consumer endpoint (consumer or soap-consumer), the HTTP component start a jetty to listen on the given locationURI. Once the endpoint is started, jetty waiting for incoming HTTP/SOAP request. The endpoint manage a concurrent stack of request to be able to manage request in an asynchronous way. Once the endpoint receives the HTTP request, it call the marshaler to transform the HTTP request and send in the NMR. Using a In-Out MEP, when a answer message comes from the NMR, the cinematic is exactly the same: the marshaler transforms the normalized message into a HTTP response. The endpoint match concurrent id of the corresponding request and send back the message to the caller.

I hope it helps you.

Regards
JB

Thushara Seneviratne wrote:
Hi ,

I want to create some custom BCs and i tried to understand the design of
HTTP-BC. As we know we can use HTTP component to receive HTTP request from
external world and publish in to the NMR , in my understanding it is
required to have HTTP Listener / HTTP server or  something  smiler to
achieve above .  Is there any such embedded HTTP interface available with
HTTP component  ? Can some one clarify how this happen ?

Thanks,

Thushara

Reply via email to