The operation 'transform' does not manage the attachments included in the IN message.
They should be copied in the OUT message if they are referenced in the OUT payload.