Re: Behavior of HTTP BC

2010-02-02 Thread Vincent GIRARDREYDET
The HttpBridgeServlet is the servlet that gets registered in Jetty when the server is started. The servlet is constructed with a HttpProcessor (the one implemented by the HttpEndpoint beeing deployed) and _bridges_ the servlet requests to the HttpProcessor. So for each HTTP endpoint you have a

Re: Behavior of HTTP BC

2010-01-21 Thread Jean-Baptiste Onofré
Hi, sorry for the late response. The "entry" point if HttpComponent: it's what ServiceMix use to deploy and registry the component. The HttpComponent is a kind of endpoints container. You have the endpoints hosted in the HttpEndpointType[] endpoints attribute. The HttpComponent class can pro

Re: Behavior of HTTP BC

2010-01-21 Thread Thushara Seneviratne
Hi , Together with my previous two questions i have noticed a Servlet with HTTP-BC source codes called "HttpBridgeServlet" how it actually deploy on Jetty ? I guess above Servlet is the entry point for incoming HTTP requests ? Thnaks Thushara On Wed, Jan 20, 2010 at 8:27 PM, Thushara Senev

Re: Behavior of HTTP BC

2010-01-20 Thread Thushara Seneviratne
Hi Jean, Thanks a lot for sharing your insight that helped me lot to realize the design. BTW still I have a small doubt 1.) AFAIK in SMX ConsumerEndpoint- process() method take care about the consumer role, in HTTP BC case once the HTTP request arrive to the Jetty how it pass to the ConsumerEndp

Re: Behavior of HTTP BC

2010-01-20 Thread Jean-Baptiste Onofré
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 requ

Behavior of HTTP BC

2010-01-20 Thread Thushara Seneviratne
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 achiev