Discussion:
Camel-Box : Get BoxItem insted of GetFolder or GetFile
Vladimir Cherepnalkovski
2018-11-27 17:09:19 UTC
Permalink
Hi,


I am using Camel-box and I have a situation where I have some id, but i don't know the object. I don't know if this id belongs to a File or Folder.


So I want to create a route to get BoxItem with the given itemId.

How do you solve this ?


I need something like this but for BoxItem.

from("seda:getFolderQueue").setExchangePattern(ExchangePattern.InOut)
.log("********* GETTING FOLDER *********")
.setHeader("CamelBox.path", method(folderService, "getPath"))
.to("box://folders/folder");


Regards,

Vladimir

Loading...