Chapter 10. Concurrency and scalability

This chapter covers

  • Camel’s threading model
  • Configuring thread pools and thread profiles
  • Using concurrency with EIPs
  • Message synchronicity and concurrency
  • Camel’s client concurrency API
  • Scalability with Camel

Concurrency is another word for multitasking, and we multitask all the time in our daily lives. We put the coffee on, start up the computer, and while it’s booting grab the paper to glance at the news. Computers are also capable of doing multiple tasks—you may have multiple tabs open in your web browser while your mail application is fetching new email, for example.

Juggling multiple tasks is also very common in enterprise systems, such as when you’re processing incoming orders, handling invoices, ...

Get Camel in Action 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.