Issue Type: Bug Bug
Affects Versions: 0.8
Assignee: Unassigned
Components: tooling
Created: 07/Mar/13 11:57 AM
Description:

The existing new rules template has some syntax issues. Here's the default rules implementation generated in tooling today:

package org.switchyard.quickstarts.remoteinvoker
import org.switchyard.Message
global Message message

rule "RulesComponent"
    System.out.println("service: CreditCheck, payload: " + message.content);
    when
        // insert conditional here
    then
        // insert consequence here
end

Change to this instead:

package org.switchyard.quickstarts.remoteinvoker
import org.switchyard.Message
global Message message

rule "RulesComponent"
    when
        
    then
        System.out.println("service: CreditCheck, payload: " + message.getContent());
end
Fix Versions: 0.8
Project: SwitchYard
Priority: Major Major
Reporter: Keith Babo
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira