|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (6)
View Page HistoryWe show in the next section a general overview of a typical Service Unit.
h21. Overview of a Camel Service Unit at Implementation Time
h2. Service Unit Content
h1. Service Unit Content
A Camel SU typically contains the following elements:
{table-plus}
|| Parameter || Description || Default || Required ||
| service-id | The unique id in the SU for the provided service. It will be visible from the route to refer to this service. | {center}\-{center} | {center}Yes{center} |
| service-id | The unique id in the SU for the provided service. It will be visible from the route to refer to this service. | {center}\-{center} | {center}Yes{center} |
{table-plus}
|| Parameter || Description || Default || Required ||
| service-id | The unique id in the SU for the consumed service. It will be visible from the route to refer to this service. | {center}\-{center} | {center}Yes{center} |
| service-id | The unique id in the SU for the consumed service. It will be visible from the route to refer to this service. | {center}\-{center} | {center}Yes{center} |
{color:red}{*}TODO. Not sure this should be in the service section... this seems to be the natural place for it to be because it is not bound to a specific service but to the whole SU...*{color}
{color:red}{*}TODO. Is there an include also with a table for the whole services section?*{color}
{color:red}{*}TODO. Is there an include also with a table for the whole services section?*{color}
h1. Overview of a Camel Service Unit at Runtime
Camel routes are instantiated in a Camel context.
With the SE Camel, for every SU, there is one Camel context created containing all the routes described in the SU.
When a message arrives on a provided service, it is dispatched to all the routes that consumes the service.
There is no guarantee of order of the route executed nor guarantee of either parallel or sequential execution of the routes.
{color:red}{*}TODO. This is of course open to discussion.*{color}