Vladimir Cherepnalkovski
2018-11-21 13:12:12 UTC
Hi All,
I am trying to create Camel-Box route for downloading older file version.
I am using Camel version 2.22.1
This Is the code
from("seda:downloadFileQueue").setExchangePattern(ExchangePattern.InOut)
.log("********* Downloading file version *********")
.setHeader("CamelBox.fileId", method(service, "getFileId"))
.setHeader("CamelBox.output", method(service, "getFileOutputStream"))
.setHeader("CamelBox.version", method(service, "getFileVersion"))
.to("box://files/downloadVersion");
The exception is :
Failed to resolve endpoint: box://files/downloadVersion due to: No matching method for files/downloadVersion, with arguments [].
I have tried with downloadPreviousFileVersions and downloadVersion endpoints, but with no success.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
I am trying to create Camel-Box route for downloading older file version.
I am using Camel version 2.22.1
This Is the code
from("seda:downloadFileQueue").setExchangePattern(ExchangePattern.InOut)
.log("********* Downloading file version *********")
.setHeader("CamelBox.fileId", method(service, "getFileId"))
.setHeader("CamelBox.output", method(service, "getFileOutputStream"))
.setHeader("CamelBox.version", method(service, "getFileVersion"))
.to("box://files/downloadVersion");
The exception is :
Failed to resolve endpoint: box://files/downloadVersion due to: No matching method for files/downloadVersion, with arguments [].
I have tried with downloadPreviousFileVersions and downloadVersion endpoints, but with no success.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10