Folder Service development for archiving the File

Hello

Scenario is we are creating a publishable document from A2A part and publishing it to B2B server .From B2B via Trading Partner it reaches to third party application.

My question here is we need to archive the created file before it publishes to B2B

Source Appliaction-SAP

In this scenario we are using common processing rule profile.so we are unable to archive the File via TN

Kindly suggest us the possible ways for archiving before publishing to Broker

This can be handled via a pre-processing service in the ESB layer just before the publishing. Create a flow service which will check for content if exits, save/archive the file content with filename date time.

What is the content size that you are publishing to the broker?

Any questions?