THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- The ServiceMix container reads the
servicemix.xml
file and sees it needs to instantiate a HttpConnector. - The container calls the init() method of HttpConnector. The init() method sets the listener's host and port property in which the HttpConnector will listen to.
- The container calls the start() method of HttpConnector. The start() method will:
A. Sets the listener property of the server.
B. Creates a new HttpContext that contains a ServletHandler class. ServletHandler maps requests to servlets that implement the javax.servlet.http.HttpServlet API. In this case it maps the request to BindingServlet class.
C. Server is started.
...
- HttpConnector sends messages to this component as specified on its destinationService property. When this component receives a message, its onMessageExchange() method is called by the container. The onMessageExchange() method will:
A. Create a SOAPConnection to be used in sending the message to URLEndpoint.
B. The JBI inbound message is marshalled into a SOAPMessage before it is send sent to URLEndpoint, as specified in the soapEndpoint property of stockQuote. A response is also requested from URLEndpoint.
C. The response, which is a SOAPMessage, is marshalled into Normalized Message and is eventually send to HttpConnector.
...