|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (23)
View Page HistoryThe number of {{consumes}} sections depends on the pattern implemented.
If the MEP {{InOut}} or {{InOptionalOut}} are supported by a pattern, the component returns to the original consumer an {{{{OUT}}}} {{OUT}} or {{FAULT}} response built 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 terminate and the {{Fault}} or the {{Error}} is sent back to the 'original' consumer
* The process can continue, ignoring the {{Fault}} or the {{Error}} received
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{aggregator}} | {center}\-{center} |
| eip | The name of the pattern to execute : {{aggregator}} | {center}\-{center} |
| aggregator-correlation | XPath condition that is applied on the incoming message to correlate them together | {center}\-{center} |
{table-plus}
{table-plus}
\\
The EIP Component receives 'original' exchanges and correlates their content amongst the aggregation configurations. The correlation is identified from the XPath expression specified in the SU parameter {{aggregator-correlation}}. If an 'original' exchange is on a {{InOut}} or {{InOptionalOut}} MEP, a standard response is sent back to the 'original' consumer :
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{scatter-gather}} | {center}\-{center} |
| eip | The name of the pattern to execute : {{scatter-gather}} | {center}\-{center} |
{code}
{note:title=Caution}{{{}Consumes}} sections cardinality is [1-n|1-n].{note} \[1-n\].{note}
{note:title=Caution}Message exchange pattern accepted from the 'original' consumer is {{InOut}}.{note}
{note:title=Caution}By default, the process stops when a Fault is returned by a 'sub-service'. To continue the process even if a fault is returned, set the {{fault-robust}} parameter to {{TRUE}}. The fault is concatenated with the others results.{note}
{note:title=Caution}By default, the process stops when an Exception is returned by a 'sub-service'. To continue the process even if an exception is thrown, set the {{exception-robust}} to {{TRUE}}. The exception is concatenated with the others results.{note}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{routing-slip}}. | {center}\-{center} |
| eip | The name of the pattern to execute : {{routing-slip}}. | {center}\-{center} |
{center}{*}Configuration of a Service Unit to provide a service (Wire-Tap)*{center}
{table-plus}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute {{wire-tap}} | {center}\-{center} |
| eip | The name of the pattern to execute {{wire-tap}} | {center}\-{center} |
</jbi:jbi>{code}
{note:title=Caution}{{{}Consumes}} sections cardinality is 2.{note}
{note:title=Caution}MEP of the target 'sub-service', the observer 'sub-service' is {{InOnly}}.{note}
{note:title=Caution}All the MEP are accepted for from the 'original' consumer.{note}
{center} !splitter.gif!{center}
{center}{*}Configuration of a Service Unit to provide a service (EIP)*{center} (Splitter)*{center}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{splitter}} | {center}\-{center} |
| eip | The name of the pattern to execute : {{splitter}} | {center}\-{center} |
| test | XPath condition applied on the message to split from the source 'original' exchange | {center}\-{center} |
| attachment | true to split the source exchange on the attachments, false to split it on the IN content | {center}false{center} |
| fault-robust | If true, a fault thrown by a target exchange don't stop the process and don't change the original exchange status to FAULT | {center}false{center} |
| exception-robust | If true, an exception thrown by a target exchange don't stop the process and don't change the original exchange status to ERROR | {center}false{center} |
| fault-robust | If true, a fault thrown by a target exchange don't stop the process and don't change the original exchange status to FAULT | {center}false{center} |
| exception-robust | If true, an exception thrown by a target exchange don't stop the process and don't change the original exchange status to ERROR | {center}false{center} |
| attachment | true to split the attachments of the incoming 'original' exchange, false to split against the {{test}} XPath expression on the In 'original' message | {center}false{center} |
| fault-robust | If true, a fault returned by a 'sub-service' exchange do not interrupt the process of the pattern | {center}false{center} |
| error-robust | If true, an exception thrown by a 'sub-service' exchange do not interrupt the process of the pattern | {center}false{center} |
| fault-robust | If true, a fault returned by a 'sub-service' exchange do not interrupt the process of the pattern | {center}false{center} |
| error-robust | If true, an exception thrown by a 'sub-service' exchange do not interrupt the process of the pattern | {center}false{center} |
{table-plus}
\\
\\
The EIP Component acts as an exchange pattern splitter, and allows you to split your message into multiple elements, each of these elements are sent to a specified service. A {{consumes}} section defines the target service. The IN message of the source exchange is splitted with the Xpath expression specified with the parameter 'test'. The list of attachment into the source exchange is splitted file by file if the parameter attachment is true.
For this pattern, the EIP Component splits the incoming 'original' message to multiple messages, then send them to the configured 'sub-service'.
If {{attachment}} parameter is not set, the {{IN}} message of the exchange is split against the Xpath expression specified in the parameter {{test}}.
If {{attachment}} parameter is set to true, The attachments contained in the 'original' exchange is split element by element to new messages .
If {{attachment}} parameter is not set, the {{IN}} message of the exchange is split against the Xpath expression specified in the parameter {{test}}.
If {{attachment}} parameter is set to true, The attachments contained in the 'original' exchange is split element by element to new messages .
The aggregation of the responses is returned into the source exchange :
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute {{bridge}} | {center}\-{center} |
| eip | The name of the pattern to execute {{bridge}} | {center}\-{center} |
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{router}} | {center}\-{center} |
| eip | The name of the pattern to execute : {{router}} | {center}\-{center} |
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{dynamic-router}} | {center}\-{center} |
| eip | The name of the pattern to execute : {{dynamic-router}} | {center}\-{center} |
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{dispatcher}}. | {center}\-{center} |
| eip | The name of the pattern to execute : {{dispatcher}}. | {center}\-{center} |
|| 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} |
| 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} |