You are previewing Instant Apache Camel Message Routing.
O'Reilly logo
Instant Apache Camel Message Routing

Book Description

Route, transform, split, multicast messages, and do much more with Camel

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results

  • Learn how to use Enterprise Integration Patterns for message routing

  • Learn how Camel works and how it integrates disparate systems

  • Learn how to test and monitor Camel applications

In Detail

With new APIs and technologies emerging every day, the need for integrating applications is greater than ever before. With the right tools, integrating applications is not hard. Apache Camel is the leading open source integration and message orchestration framework. Apache Camel, which has a variety of connectors and features numerous well-known integration patterns, has an enormous advantage over home grown integration solutions.

Instant Apache Camel Message Routing helps you to get started using the Camel routing engine and Enterprise Integration Patterns. This book will show you how to create integration applications using Apache Camel. You will learn how Camel works and how to leverage the Enterprise Integration Patterns for message routing.

Instant Apache Camel Message Routing is a practical and step-by-step guide to Apache Camel and integration patterns. This book will show you how Apache Camel works and how it integrates disparate systems using Enterprise Integration Patterns. The book starts with an advanced level overview of the Camel architecture before diving into message routing principles. Then, it introduces a number of patterns, complete with diagrams, common use cases, and examples about how to use them with Camel. The book also shows you how to test and monitor Camel applications and cope with failure scenarios.

Table of Contents

  1. Instant Apache Camel Message Routing
    1. Instant Apache Camel Message Routing
    2. Credits
    3. About the Author
    4. About the Reviewer
    5. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    7. 1. Instant Apache Camel Message Routing
      1. Creating a Camel project (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Using Spring XML DSL
      2. Routing messages to different destinations (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Expression languages
          2. Dynamic routing
      3. Using components (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Accessing the Registry
      4. Connecting routes (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Asynchronous connection
          2. Connecting routes in the same JVM
          3. Calling routes from Java methods
      5. Removing unwanted messages (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Idempotent consumer
          2. Bean binding
      6. Transforming messages (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Type conversion
          2. Transforming with expression language
          3. Executing a Java method
          4. Using template component
          5. Normalizing messages to a common format
      7. Splitting a message into many (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Aggregating results
          2. Threading model
      8. Aggregating multiple messages into one (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Composed message processor
          2. Scatter-gather
      9. Reorganizing messages (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Limiting flow rate with Throttler
          2. Delaying messages
      10. Multicasting messages (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Dynamic multicasting
          2. Wire Tap
      11. Error handling and monitoring (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Exception Clause
          2. Java style error handling
          3. Monitoring and logging
      12. Testing the messaging applications (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Testing applications written in Spring XML DSL
          2. Other tools for testing