You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Vladimir Cherepnalkovski <ch...@hotmail.com> on 2018/11/27 17:09:19 UTC
Camel-Box : Get BoxItem insted of GetFolder or GetFile
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