Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This sample demonstrates the stateful behavior of a rule session through a simple banking application which uses business rules. This sample should be deployed in a stateful axis2 session - i.e. session scope or transport scope.
 

Sample Configuration

 

Table of Contents
maxLevel4
minLevel4
 


Sample Rule Definition 

Rules

Rule 1: Withdrawing is only allowed if the account balance is higher than the requested amount.

Rule 2: 5% credits given if the deposit is higher than 1000.
 

...