Access Keys:
Skip to content (Access Key - 0)
community header community tab mule tab ibeans tab muleforge tab

MuleFair

This is the example application written for the InfoQ article about "SEDA". The application is an Mule ESB implementation of an Amusement Park, as described in the article. The application is a Maven 2 project, that will have to be build and run from inside an IDE (tested with Eclipse and IntelliJ IDEA). The only reason for this is that I've created a Maven 2 archetyppe that let you create a Mule application that can be run immediatly inside your IDE, and I didn't have time to fix any run scripts.

That said, the following comments should get you up and running fast, if you've got Maven 2 set up on your workstation:

1. Download and unzip to a local directory (f.eks ./mulefair).

2. cd to that directory (cd ./mulefair).

3. run mvn idea:idea, if you're using IntelliJ IDEA, or mvn eclipse:eclipse, in the other case.

4. Open the generated project from inside your IDE of choice (IDEA or Eclipse).

5. Run org.mulefair.StartServer

Now you should have a "nice" GUI presented infront of you, representing the Amusement Park. There are three events; Radio Cars, Merry-Go-Round and the Roller Coaster. Each event has a queue list and a list of current "riders". The kids are represented by their names and a binary status of visited events.

1. To the left is a list of children that wants to enter the Amusement Park. They are all selected by default.

2. To the right of the children list a "huge" button with "Enter" printed on it, is situated.

Press this button to send the selected children through the gate and into the park.

3. When entering an event a kid is first put into the queue, then as soon a ride is free, they are sent away on the ride of their life.

4. When the children have been through all the events, they finally end up in System.err.... which, is a pure design choice

Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10, the Enterprise Wiki.
Free theme builder license