org.apache.servicemix.camel.util
Class StrictSerializationHeaderFilterStrategy
java.lang.Object
org.apache.servicemix.camel.util.StrictSerializationHeaderFilterStrategy
- All Implemented Interfaces:
- org.apache.camel.spi.HeaderFilterStrategy
public class StrictSerializationHeaderFilterStrategy
- extends Object
- implements org.apache.camel.spi.HeaderFilterStrategy
HeaderFilterStrategy that filters out non-serializable values.
It will try to write the object to a stream to make sure that an object that implements the
Serializable interface can actually be serialized
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrictSerializationHeaderFilterStrategy
public StrictSerializationHeaderFilterStrategy()
applyFilterToCamelHeaders
public boolean applyFilterToCamelHeaders(String s,
Object o)
- Specified by:
applyFilterToCamelHeaders in interface org.apache.camel.spi.HeaderFilterStrategy
applyFilterToExternalHeaders
public boolean applyFilterToExternalHeaders(String s,
Object o)
- Specified by:
applyFilterToExternalHeaders in interface org.apache.camel.spi.HeaderFilterStrategy
Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.