Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The ServiceMix container reads the servicemix.xml file and sees it needs to instantiate a HttpConnector.
  2. The container calls the init() method of HttpConnector. The init() method sets the host and port property of the SocketListener in which the HttpConnector will liten listen message to.
  3. The container determines that HttpConnector is an MBean and, therefore, 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 sends request to BindingServlet.
    C. Server is started.

...