|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (45)
View Page History{include:0 CDK SU Provide Configuration}
\\
{include:0 JBI SU Consume Configuration}
{include:0 CDK SU Interceptor configuration}
h3. Processing an integration pattern
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{aggregator}} | {center}\-{center} |
| test | XPath condition applied on the message to complete or not the sequence by the invocation of the targeted service | {center}\-{center} |
| aggregator-correlation | XPath condition that is applied on the incoming message to correlate them together | {center}\-{center} |
{table-plus}
{code}
Once a source exchange matches the test, the target exchange, with a single, aggregated, content, is sent. The propagable source exchange properties are copied into the target exchange. The test is retrieved from an XPath expression specified in the SU parameter 'test'. The aggregated content is the result of a concatenation :
Once a source exchange matches the test(s), the target exchange, with a single, aggregated, content, is sent. The 'original' exchange properties are copied into the target exchange. The tests to process are XPath expressions specified in the SU parameters {{test}}. The aggregated content is the result of a concatenation :
{code:xml}
{center} !scattergather.gif!{center}
{center}{*}Configuration of a Service Unit to provide a service (EIP)*{center}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{scatter-gather}} | {center}\-{center} |
| fault-robust | If true, a fault thrown by a target exchange don't stop the process and don't change the original status to {{FAULT}} | {center}false{center} |
| aggregator-correlation | If true, an exception thrown by a targer exchange don't stop the process and don't change the original exchange status to {{ERROR}}. | {center}false{center} |
| aggregator-correlation | If true, an exception thrown by a targer exchange don't stop the process and don't change the original exchange status to {{ERROR}}. | {center}false{center} |
{center} !routingslip.gif!{center}
{center}{*}Configuration of a Service Unit to provide a service (EIP)*{center}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{routing-slip}}. | {center}\-{center} |
| fault-to-exception | If true, a fault received from the target service is transformed to an exception into the source exchange. | {center}false{center} |
{table-plus}
{table-plus}
</jbi:jbi>{code}
\\
\\
{note:title=Caution}{{{}consumes}} sections cardinality is [1-n|1-n]{note}
{note}
{note:title=Caution}by default, the {{process}} stops when a Fault is returned by the provider if it doesn't use the InOnly Message Exchange Pattern{note}
{note:title=Caution}by default, the process stops when an Exception is returned by the provider{note}
{note:title=Caution}by default, the process stops when an Exception is returned by the provider{note}
{center} !wiretap.gif!{center}
{center}{*}Configuration of a Service Unit to provide a service (EIP)*{center}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute {{wire-tap}} | {center}\-{center} |
| wiretap-way | Exchange way on which the message should be copied and sent to the monitoring service. \\
Values are request (copy IN), response (copy OUT/Fault), {{request-response}} (copy IN and OUT/Fault), {{request-on-response}} (copy IN after OUT is received; not copied if Fault or Error) | {center}\-{center} |
{table-plus}
\\
\\
</jbi:jbi>{code}
{note:title=Caution}{{{}consumes}} sections cardinality is 2.{note}
{note:title=Caution}message exchange pattern of the second target exchange, the "monitoring" exchange, is {{InOnly{}}}{note}
{note:title=Caution}all the Message Exchange Pattern are accepted for the source exchange{note}
{center} !splitter.gif!{center}
{center}{*}Configuration of a Service Unit to provide a service (EIP)*{center}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{splitter}} | {center}\-{center} |
| test | XPath condition applied on the message to split the source 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} |
| 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} |
{center} !bridge.gif!{center}
{center}{*}Configuration of a Service Unit to provide a service (EIP)*{center}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute {{bridge}} | {center}\-{center} |
| fault-to-exception | if true, a fault received from the target service is transformed into an exception and set to the 'orginal' exchange | false |
{table-plus}
{table-plus}
{center} !router.gif!{center}
{center}{*}Configuration of a Service Unit to provide a service (EIP)*{center}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{router}} | {center}\-{center} |
| test | XPath condition applied on the message to choose the target service | {center}\-{center} |
| fault-to-exception | if true, a fault received from the target service is transformed into an exception and set to the 'original' exchange | false |
{table-plus}
{table-plus}
</jbi:services>
</jbi:jbi>{code}
</jbi:jbi>{code}
{note:title=Caution}{{{}consumes}} sections cardinality is the number of conditions plus 1 (the last one is the default service).{note}
{note:title=Caution}the last {{consumes}} section is the default service to invoke if no condition has been fullfilled.{note}
{center} !dynamicrouter.gif!{center}
{center}{*}Configuration of a Service Unit to provide a service (EIP)*{center}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{dynamic-router}} | {center}\-{center} |
| test | XPath condition applied on the message to choose the target service | {center}\-{center} |
| fault-to-exception | if true, a fault received from the target service is transformed into an exception and set to the 'original' exchange | false |
{table-plus}
{table-plus}
</jbi:jbi>{code}
{note:title=Caution}{{{}consumes}} sections cardinality is the number of conditions plus 2{note}
{note:title=Caution}the first {{consumes}} section is the service to invoke to get the message to evaluate. So its pattern is {{InOut{}}}{note}
{note:title=Caution}the last {{consumes}} section is the default service to invoke if no condition has been fullfilled.{note}
{center} !dispatcher.gif!{center}
{center}{*}Configuration of a Service Unit to provide a service (EIP)*{center}
{table-plus}
|| Parameter || Description || Default ||
| eip | The name of the pattern to execute : {{dispatcher}}. | {center}\-{center} |
| fault-to-exception | if true, a fault received from the target service is transformed to an exception into the source exchange. | {center}false{center} |
{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} |
| 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} |