Class AtmosFileDownloadResult


  • public class AtmosFileDownloadResult
    extends AtmosResult
    • Constructor Detail

      • AtmosFileDownloadResult

        public AtmosFileDownloadResult()
    • Method Detail

      • populateExchange

        public void populateExchange​(org.apache.camel.Exchange exchange)
        Object payload contained in Exchange In case of a single file Exchange Header is populated with the name of the remote path downloaded In case of a multiple files Exchange Header is populated with the name of the remote paths downloaded In case of a single file Exchange Body is populated with the ByteArrayOutputStream downloaded from atmos. In case of multiple files Exchange Body is populated with a map containing as key the remote path and as value the linked ByteArrayOutputStream
        Specified by:
        populateExchange in class AtmosResult
        Parameters:
        exchange -