MessageBuilder.copyHeaders

Copy the name-value pairs from the provided Map. This operation will overwrite any existing values. Use { {@link #copyHeadersIfAbsent(Map)} to avoid overwriting values. Note that the 'id' and 'timestamp' header values will never be overwritten.

class MessageBuilder(T)
copyHeaders
(
Map!(string, Object) headersToCopy
)

Meta