Fan In mediation primitive properties
You can specify values for mediation primitive properties either by using the property fields in the IBM® Integration Designer user interface or by using an XML format. The property field names displayed in IBM Integration Designer are generally different from the property names used when building a mediation flow using XML code. In the following information, icons are used to identify each property name used in IBM Integration Designer and the corresponding XML name. (Where applicable, XML names that are required, but not shown in IBM Integration Designer, are also described.)
Fan Out ID fanOutID
The identifier corresponding to the Fan Out mediation primitive that is associated with the Fan In.
Field detail | Value and notes |
---|---|
Required | Yes |
Valid values | String Note:
|
Decision Type decisionType
The out terminal is fired when a decision point is reached.
Field detail | Value and notes |
---|---|
Required | Yes |
Valid values |
Note:
|
Default | Count |
Enable timeout timeout
The time, in seconds, by which the decision point must be reached. The timeout period starts when the associated Fan Out fires an output terminal for the first time. If a message arrives at the Fan In in terminal after this timeout period, it is considered as being late and the incomplete terminal is fired.
Field detail | Value and notes |
---|---|
Required | Yes |
Valid values | Integer Note:
|
Default | -1 The default value of -1 means there is no timeout, and no messages will be considered as late. |
Count count
The number of messages to receive before firing the out terminal.
Field detail | Value and notes |
---|---|
Required | Yes |
Valid values | Integer Note:
|
Default | 1 |
XPath Completion Expression xpathCompletionExpression
The XPath expression that must evaluate to true before firing the out terminal.
Field detail | Value and notes |
---|---|
Required | No |
Valid values | XPath Note:
|
Considerations
- The Async Timeout values for Service Invoke mediation primitives should not exceed the value of the Timeout property of the aggregation's Fan In.
- Certain properties are promotable; therefore, you can change their
value from the runtime administrative console. The following properties
can be promoted:
- Count
- XPath
- Timeout
Sample XML code
<node name="endAggregation" type="FanIn>
<property name="fanOutID" value="startAggregation"/>
<property name="decisionType" value="2"/>
<inputTerminal/>
<inputTerminal name="stop"/>
<outputTerminal/>
<outputTerminal name="incomplete"/>
<failTerminal/>
</node>