public interface SafeCopyProperty
ExtendedExchange.setSafeCopyProperty(String, SafeCopyProperty)
.
When exchange object is copied it will invoke safeCopy()
method on properties set using
ExtendedExchange.setSafeCopyProperty(String, SafeCopyProperty)
. This allows the property value object to
return a copy object to be set on the target exchange object instead of the original value object. This protects the
properties from unintended mutation when using parallelProcessing in Multicast or RecipientList EIPModifier and Type | Method and Description |
---|---|
SafeCopyProperty |
safeCopy()
Implementations should implement this method to return a deep copy of the object which can be mutated
independently of the original object.
|
SafeCopyProperty safeCopy()
Apache Camel