Versions Compared

Key

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

...

The Basic example demonstrates how external 1 applications communicate via the ESB. The techniques could be used to plug any external application or service into ServiceMix (e.g. SAP, Peoplesoft, spreadsheets, POJOs, Webservices and EJBs) and allow it to communicate with other external applications or components within ServiceMix itself.

...

Using an ESB, the distributor has developed a number of components to receive department store orders and dynamically route and transform these orders to the appropriate wholesaler. The order flow is described as follows:

  1. Using a web-based form, a user asks for data from a legacy applicationthe distributor's web interface, a department store buyer submits an order for multiple products.
  2. An HTTP request is formulated and sent to the HTTP binding component (BC). 2
  3. The HTTP binding component transforms sends the HTTP message into a neutral formmessage to an "OrderManager" Service Engine component. This is called a normalized message.SE is responsible for parsing the order and
  4. The normalized message is routed through the Normalized Message Router (NMR) to a Service Engine (SE) 3 or BC that knows how to communicate to the legacy application.
  5. The SE/BC transforms the message into a form that the legacy application understands.
  6. The SE/BC passes the message to the resource adapter 4 for the legacy application.
  7. The resource adapter communicates with the legacy application and obtains the requested data.
  8. The requested data is transferred back to the web-based form, reversing the route.

...