Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This quickstart demonstrates the usage of a rules service which performs an age check. The package resource is specified using annotations within the InterviewRules interface.
The name of the service in the drl is specified using a Mapping annotation containing an MVEL expression.

Rules Interview Agent Quickstart



Running the quickstart

JBoss AS 7

  1. Build the quickstart: mvn clean install
  2. Run the test: mvn -Dtest=RulesInterviewTest test

Expected Output:

Running org.switchyard.quickstarts.rules.interview.RulesInterviewTest  
********** Interview: David is a valid applicant. **********  
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.131 sec  

Further Reading

  1. Configuration Documentation
Something went wrong with that request. Please try again.