Mashups in EMML : Writing Mashups in EMML : Controlling Mashup Processing Flow
Controlling Mashup Processing Flow
 
<if>
<for>
<foreach>
<while>
<break>
Concurrent Mashup Processing Flows
Database Mashable Transactions
SQL Transactions
You may use several mashup statements to control the processing flow for a mashup operation. This includes:
*<if> for conditional processing.
*<for> for looping based on simple counts.
*<foreach> for looping through a set of nodes. This can be simple iterative loops or loops can be processed concurrently.
*<while> for looping as long as a condition is true.
*<break> to forcibly stop looping statements.
*<try> to catch and handle potential exceptions from statements within the <try> block.
*<throw> to forceably stop mashup processing and throw an exception as the mashup result.
*<return> to forceably stop mashup processing and return the current value of <output> .
*Concurrent Mashup Processing Flows using <parallel>.
*Database Mashable Transactions using <presto:beginTransaction>, <presto:commitTransaction> and <presto:rollbackTransaction>.
*SQL Transactions using <sqlBeginTransaction>, <sqlCommit> and <sqlRollback>.
Copyright © 2013-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback