The actor-template, which is the root element of all actor elements, contains one or more actor-chain elements. This element uses the default-chain-id attribute, which is the default chain that will be executed if there is no chain-id found in the request. If no default-chain is defined the first chain is executed.

The following is an example of an actor-template that contains a single actor-chain:

<actor-template default-chain-id="MyFirstChain">
  <actor-chain id="MyFirstChain" transaction="TX_SUPPORTS">
    <actor id="order" name="/atg/commerce/ShoppingCartActor" chain-id="summary"
        return-model-var="orderSummary">
      <output id="orderSummary" add-map-children="true" value="${orderSummary}"/>
    </actor>
  </actor-chain>
</actor-template>

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices