Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
src
Readme.md
pom.xml
rules-interview-agent.jpg

Readme.md

Introduction

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

Preqrequisites

Maven

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.