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 listener's host and port property in which the HttpConnector will listen to.
  3. 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 request to BindingServlet class.
    C. Server is started.

stockQuote Details

  1. HttpConnector sends messages to this component as specified on its destinationService property. When this component receives a message is received, its onMessageExchange() method is called by the continer.

...