Petals Getting started - day 5 - EIP Orchestration

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

Changes (7)

View Page History
Look at XPath expressions used in EipSplitter and EipAggregator. Try to understand them. XPath is essential to use Petals-SE-EIP.

*EIP Agregator conditions:*
# Elements which satisfy "aggregator-correlation" are aggregated
{code:lang=xml}<eip:aggregator-correlation>boolean(/*[local-name()="AddIntegers"])</eip:aggregator-correlation>{code}
When <AddIntegers> contains the <equals> element, the aggregated message is sent to the next service, and buffer cleared.

*EIP Splitter conditions:*
# Elements which satisfy "test" are extracted and sent to the next service.
{code:lang=xml}<eip:test>//*[local-name()="AddIntegers"]</eip:test>{code}
h2. More about orchestration

*Look at other EIP patterns*:
Simple theory exercise: how would you do in this case....?
[TODO ?|TODO ?]


*Orchestration alternatives*
You can orchestrate services in Petals with BPEL, SCA, JSR181, EIP or POJO. Read this *[Orchestration Whitepaper|http://www.petalslink.com/fr/forms/orchestration-de-processus-quelle-technologie-privilegier]* if you are interested.

*Orchestration alternatives:*
Summary:
You can orchestrate services in Petals with either BPEL, SCA, JSR181, EIP or POJO. Read this *[Orchestration Whitepaper|http://www.petalslink.com/fr/forms/orchestration-de-processus-quelle-technologie-privilegier]* to learn more.

Main differences between orchestration technologies:
- EIP : Good performances. But complicated and a bit "dirty old way" (for example, do not use WSDL).
- BPEL: Based on XML and WSDL. Standard. Quite complicated to learn. Poorer performances.