Chapter 2. Routers and Routing

The fundamental building blocks in a Mule application are the services that are connected together using routing patterns. Whether you want your data to be passed along from one service to another, or you want a subset of your data to be passed along, or you wish to use a more complex mechanism to decide how data flows along your Enterprise Service Bus, you need to use a router. Knowing what the inbuilt routers can do for you means that you can take full advantage of them—and know what Mule's limitations are.

Note

We'll take a look at how you can extend these routers and create your own in Chapter 7.

Routing Patterns

Three principal types of routing patterns are available in Mule, as shown in Figure 2-1:

  • The inbound routers, ...

Get Mule 2: A Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.