Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Box component also provides a Camel type converter to convert GenericFile objects from File component to a com.box.restclientv2.requestsbase.BoxFileUploadRequestObject to upload files to Box.com. The target folderId for the upload can be specified in the header exchange property CamelBox.folderId. If the header exchange property is not specified the value defaults to "0" for the root folder ID. 

...

The following route uses a producer with dynamic header options. The fileId header  property has the Box file id , so its assigned to the CamelBox.fileId header as follows:

...