Does each loop iteration reevaluate every rule that is in phase2 regardless of if it evaluated to false on a previous iteration?
What terminates the phase2 loop, is it when there is an iteration where all rules evaluate to false?
If a phase2 mediator returns false does it still stop all processing - so no more phase2 and no out-phase?
...ant
On 10/27/05, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
Hi all;Two Infravio guys came from India (Sathish , Vikas) and Axis2 guys had a discussion whole today and finally we came up with the following Architecture.The synapse execution is done in three phases,1. In-phase2. Rule-processing3. Out-phaseIn In-phase for the mediators does not have pre-condition so they can run as a sequence , after finishing thatThere can be rules that run in a loop and the loop will end depending on the mediator status or the rule pre-condition , finally the out-phase will be invoked and they can be also run in sequence without considering pre-condition.Then the above picture can be described as follows;step 1 : Synapse Engine get a message , then that will ask Rule Processor to calculate rule for that particular message , it will calculate in-phase mediators and give that to SynaseEngine.step 2 : Then it will invoked those Rules (the graphical representation of rule is as picture below) , after finishing that chain , looping will startstep 3 : here the a rule will be invoked and evaluate the condition and will decide to continue or stop , after finishing the loop , we assume that RuleProcessor will be calculated the out-phase rules andstep 4 : Will be called those rulesstep 5 : finally the message will be drop into the bus (if there is any)And this picture almost based on Paul's picture , since it can be problem if we are going to use separate transports for Synapse (code duplication etc) , and we hope to discuss more on this in the IRCcomments ....
Thanks,
Deepal
................................................................
~Future is Open~