}
message.getContext().setProperty(header, camelMessage.getHeader(header), Scope.MESSAGE);
}
for (String attachmentName : camelMessage.getAttachmentNames()) {
message.addAttachment(attachmentName, new HandlerDataSource(camelMessage.getAttachment(attachmentName)));
}
return message;
}