Class AtmosFileUploadResult
- java.lang.Object
-
- org.apache.camel.component.atmos.dto.AtmosResult
-
- org.apache.camel.component.atmos.dto.AtmosFileUploadResult
-
public class AtmosFileUploadResult extends AtmosResult
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.atmos.dto.AtmosResult
resultEntries
-
-
Constructor Summary
Constructors Constructor Description AtmosFileUploadResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 uploaded In case of a multiple files Exchange Header is populated with the name of the remote paths uploaded In case of a single file Exchange Body is populated with the result code of the upload operation for the remote path.-
Methods inherited from class org.apache.camel.component.atmos.dto.AtmosResult
getResultEntries, setResultEntries
-
-
-
-
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 uploaded In case of a multiple files Exchange Header is populated with the name of the remote paths uploaded In case of a single file Exchange Body is populated with the result code of the upload operation for the remote path. In case of multiple files Exchange Body is populated with a map containing as key the remote path uploaded and as value the result code of the upload operation- Specified by:
populateExchange
in classAtmosResult
- Parameters:
exchange
-
-
-