Petals-SE-EIP 2.5

compared with
Version 6 by Roland Naudin
on Sep 30, 2010 15:25.

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

Changes (20)

View Page History
{include:0 JBI SU Consume Configuration}

h2. Processing a pattern
h3. Processing an integration pattern

A Service Unit contains one and only one {{Provides}} section, which describes the pattern that will be processed when a message a request message is received.

The Service Unit contains also one or more consumes sections, which reference services to call during the pattern execution. The order of the {{consumes}} sections is important, as it is the one which is used by the pattern during its execution.
The Service Unit contains also one or more {{Consumes}} sections, which reference services to invoke during the pattern processing. The order of the {{consumes}} sections is important, as it is the order taken account when a pattern need 'sub-service' coordination.

The number of {{consumes}} sections depends on the pattern implemented.

If the MEP InOut or InOptionalOut are supported by an implemented EIP, the component returns to the consumer an
OUT response built according to the pattern feature.
If the MEP {{InOut}} or {{InOptionalOut}} are supported by an implemented EIP, a pattern, the component returns to the original consumer an {{OUT}} or {{FAULT} response built according to the pattern feature.

If an invoked service returns a {{Fault}} or an {{Error}} status, the process ends or no, and the Fault or the Error is sent back to the consumer or no, according to the pattern feature.
If an invoked service returns a {{Fault}} or an {{Error}} status, the behavior of process can be configured:
*The process can terminated and the {{Fault}} or the {{Error}} is sent back to the original consumer
*The process can continue, ignoring the {{Fault}} or the {{Error}} received.

An operation must be specified in the {{consumes}} sections. This operation is used to invoke the bound service.



|| Parameter || Description || Default || Required by pattern ||
| eip | The name of the pattern to execute : {{aggregator}} | \- | All |



|| Parameter || Description || Default || Required by pattern ||
| eip | The name of the pattern to execute : {{scatter-gather}} | \- | All |



|| Parameter || Description \\ || Default \\ || Required by pattern \\ ||
| eip | The name of the pattern to execute : {{routing-slip}}. \\ | \- | all |



|| Parameter || Description \\ || Default \\ || Required by pattern \\ ||
| eip | The name of the pattern to execute : {{wire-tap}} \\ | \- | All |



|| Parameter \\ || Description \\ || Default \\ || ||
| eip \\ | The name of the pattern to execute : {{splitter}} \\ | \- | All |



|| Parameter \\ || Description \\ || Default \\ || Required by pattern \\ ||
| eip \\ | The name of the pattern to execute: {{bridge}} \\ | \- | All |



|| Parameter \\ || Description \\ || Default \\ || Required by pattern \\ ||
| eip | The name of the pattern to execute : {{router}} \\ | \- | All |



|| Parameter || Description || Default || Required by pattern ||
| eip | The name of the pattern to execute : {{dynamic-router}} | \- | All |



|| Parameter || Description || Default || Required by pattern ||
| eip | The name of the pattern to execute : {{dispatcher}}. | \- \\ | All |
{table-plus}


|| Parameter || Description || Default || Required ||
| your-pattern-name | Name of the java class implementing your pattern. The name of the pattern at runtime will be the one you give as parameter name | {center}\-{center} | {center}No{center} |

{include:0 CDK Component Interceptor configuration}

{column}
{column:width=350px}