Configuring the Choice Router/Flow Control

Choice Router allows us to route a request to a specific path based on an expression. If the expression matches, it will move forward to the next Endpoint. In this recipe, you will see an example of how the Choice Router/Flow Control works.

Getting ready

In this example, you will use the File Inbound Endpoint, Choice Router, and the File Outbound Endpoint.

  1. Open Mule Studio and enter the workspace name as shown in the following screenshot:
    Getting ready
  2. To create a new project, go to File | New | Mule Project. Enter the project name, choice_router, and click on Next and then on Finish. Your new project is created; you now ...

Get Mule ESB Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.