You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Content Filter

Camel supports the Content Filter from the EIP patterns using a Message Translator or by using an artibrary Processor in the routing logic to filter content from the inbound message.

A common way to filter messages is to use an Expression in the DSL like XQuery, SQL or Scripting.

Using the Fluent Builders

Here is a simple example using the DSL directly

Error formatting macro: snippet: java.lang.NullPointerException

In this example we add our own Processor

Error formatting macro: snippet: java.lang.NullPointerException

To experiment with this pattern you could use one of the JUnit tests

  • No labels