Petals-SE-Camel 1.0.0-SNAPSHOT

compared with
Version 6 by Victor NOËL
on Mar 17, 2015 14:11.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
The protocol reserved to petals is *petals* and it is followed by *:* and then the unique id identifying a service, and optionally an operation to be invoked.

One can refer to provides services with from() and to provides and consumes services with to().
In the case of a provides service called with to(), the message will stay inside the SU and won't go back through Petals.

{color:red}{*}TODO. Add some explanation on how to use direct: and seda: URIs from Camel to call local routes.*{color}

h2. JBI Descriptor

Of course, a provided service will be only usable by *from* elements and consumed services by *to* elements.


{code:lang=xml}
<?xml version="1.0" encoding="UTF-8"?>
{color:red}{*}TODO. make that a real example, this is copied from jsi181 with bits of EIP and a mock-up for camel:routes...*{color}

{color:red}{*}TODO. An alternative solution proposed by Bertrand is to assign to each provides a list of route-ids that are defined in the camel routes: the problem with that is that we go outside of the camel philosophy that prefer to have self-contained routes.*{color}

h3. Provides Section




|| 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} |



|| 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} |