Chapter 5. Splitting and Aggregating

In this chapter, we will cover:

  • Splitting a message into fragments
  • Splitting XML messages
  • Processing split messages in parallel
  • Aggregating related messages
  • Aggregating with timeouts
  • Aggregating with intervals
  • Processing aggregated messages in parallel
  • Splitting a message, and processing and gathering responses
  • Splitting messages and re-aggregating them using different criteria

Introduction

This chapter will describe how to split exchanges into smaller fragments and process them individually. It will also explain how you can aggregate (join) multiple exchanges by grouping them according to arbitrary expressions. Finally, it will discuss how to split messages into fragments, process them individually, and re-aggregate ...

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.