Versions Compared

Key

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

...

  1. External means the application is outside of the ESB.
  2. Resource Adapter: a resource adapter provides connectivity between a specific external application and the ESB. In the Basic example the jencks container provides a JMS resource adapater.
  3. Binding Component (BC): a BC provides connectivity to applications that are external to the ESB.
  4. Service Engine (SE): a service engine provides business logic and transformation services to other components within the enterprise service bus.

Business Use Case for the File Binding Example

The file binding example shows how components of ServiceMix can interact with the file system. This is important because many applications write files out to a directory on disk that other applications may need access to. This application gives a simple example of how a ServiceMix component can read a file from the disk, process it into a normalized message, then send it via the NMR, to another ServiceMix component.

A hypothetical business scenario: An online wholesale distributor of books, CDs and books on tape, receives a nightly order from a retail store. The nightly order is transmitted to the distributor as a file and placed in a particular directory on disk. There is a ServiceMix component that continually scans that directory looking for order files. When it sees a file, it reads it in and processes it. It divides the order into separate orders for its suppliers, e.g., one order will be placed with the distributor's book supplier, one order will go to the CD supplier, etc.