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

Compare with Current View Page History

« Previous Version 12 Next »

Normalizer

Camel supports the Normalizer from the EIP patterns by using a Message Router in front of a number of Message Translator instances.

Example

This example shows a Message Normalizer that converts two types of XML messages into a common format. Messages in this common format are then filtered.

Using the Fluent Builders

Error formatting macro: snippet: java.lang.NullPointerException

In this case we're using a Java bean as the normalizer. The class looks like this

Error formatting macro: snippet: java.lang.NullPointerException

Using the Spring XML Extensions

The same example in the Spring DSL

Error formatting macro: snippet: java.lang.NullPointerException

See Also

Using This Pattern

If you would like to use this EIP Pattern then please read the Getting Started, you may also find the Architecture useful particularly the description of Endpoint and URIs. Then you could try out some of the Examples first before trying this pattern out.

  • No labels