Introduction
The Examples provide coding level details for implementing particular aspects of ServiceMix. This document extends the coding examples into their business use. The following use cases are documented:
Business Use Case for the Basic ExampleServiceMix is an Enterprise Service Bus (ESB) that is based on the Java Business Integration (JBI) standard JSR 208. The JBI-based design specifies a standards-based pluggable architecture with a JVM-based runtime component called the Normalized Message Router (NMR). The Basic example demonstrates how applications communicate via the ServiceMix ESB, and the role that the NMR plays in that communication. Similar techniques could be used to plug any external 1 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 using ServiceMix.
...
- External means the application is outside of the ESB.
- 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.
- Binding Component (BC): a BC provides connectivity to applications that are external to the ESB.
- Service Engine (SE): a service engine provides business logic and transformation services to other components within the enterprise service bus.
Anchor |
---|
| FileBindingUseCase |
---|
| FileBindingUseCase |
---|
|
Business Use Case for the File Binding ExampleThe file binding example shows how components of ServiceMix can interact with the file system. This is important because there are applications that write files out to a directory on disk and other applications that may need access to those files. This is 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. The receiving component can process the message (which contains the file) and write it out to another location on disk.
...
Panel |
---|
borderColor | #ccc |
---|
title | Online Distributor's Order Processing System |
---|
borderStyle | solid |
---|
|
![](/confluence/download/attachments/39040/filebinding_as_usecase.jpg?version=2&modificationDate=1128953533000&api=v2)
|
Business Use Case for the BPEL ExampleThe BPEL example shows how to integrate the PXE BPEL Engine with ServiceMix. Business Process Execution Language (BPEL) defines a notation for specifying business process behavior based on Web Services. PXE is a runtime component for executing processes defined by the BPEL4WS 1.1 specification and forthcoming WS-BPEL 2.0 OASIS standard. The PXE BPEL engine uses JMX to provide management and introspection functionality.
...
Panel |
---|
borderColor | #ccc |
---|
title | Online Ticket Reservation System |
---|
borderStyle | solid |
---|
|
![](/confluence/download/attachments/39040/bpel_as_usecase.jpg?version=1&modificationDate=1130447048000&api=v2)
|
Business Use Case for the JMS Binding ExampleThe JMS Binding example shows how to connect the JMS bindings to a simple service component inside ServiceMix.
...
Panel |
---|
borderColor | #ccc |
---|
title | Online Application for Tax ID No. System |
---|
borderStyle | solid |
---|
|
![](/confluence/download/attachments/39040/jms_as_usecase.jpg?version=1&modificationDate=1132637192000&api=v2)
|
Business Use Case for the HTTP Binding ExampleThe HTTP binding example shows how to use the HTTP bindings to handle a simple http post.
...
Panel |
---|
borderColor | #ccc |
---|
title | Department of Public Works Project Monitoring System |
---|
borderStyle | solid |
---|
|
![](/confluence/download/attachments/39040/usecase_for_http.jpg?version=1&modificationDate=1134791390000&api=v2)
|
Anchor |
---|
| QuartzUseCase |
---|
| QuartzUseCase |
---|
|
Business Use Case for the Quartz Binding ExampleThe Quartz binding example shows how to use Quartz timer.
...
Panel |
---|
borderColor | #ccc |
---|
title | Network Status Indicator |
---|
borderStyle | solid |
---|
|
![](/confluence/download/attachments/39040/usecase_for_quartz.jpg?version=1&modificationDate=1134791454000&api=v2)
|
Business Use Case for the RSS ExampleThe RSS binding example shows how to use the RSS bindings to poll RSS feeds for updates. RSS is an XML format designed for sharing web content between sites.
...