Chapter 2. Message Routing

In this chapter, we will cover the following recipes:

  • Content Based Routing
  • Filtering out unwanted messages
  • Wire Tap – sending a copy of the message elsewhere
  • Multicast – routing the same message to many endpoints
  • Recipient List – routing a message to a list of endpoints
  • Throttler – restricting the number of messages flowing to an endpoint
  • Request-response route sending a one-way message
  • One-way route waiting on a request-response endpoint
  • Dynamic Routing – making routing decisions at runtime
  • Load balancing across a number of endpoints
  • Routing Slip – routing a message to a fixed list of endpoints

Introduction

This chapter explains how to make use of Camel's built-in EIPs (Enterprise Integration Patterns) to write typical integration ...

Get Apache Camel Developer's Cookbook 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.