I get this error in the log when I try to serialize my Camel Exchanges with the DefaultExchangeHandler:
DefaultExchangeHolder | camel.impl.DefaultExchangeHolder 210 | 69 - org.apache.camel.camel-core - 2.4.0.fuse-00-00 | in headers containing object: null with key: CamelAuthentication cannot be serialized, it will be excluded by the holder.
The CamelAuthentication header appears when message is passing through the NMR
If null, CamelAuthentication should not be set in the headers. Also this should be logged as WARN.
Here is the route: