Yes, I tried that too.
I tried two options : .toD("box://files/downloadVersion?version=1"); Exception : Failed to resolve endpoint: box://files/downloadVersion?version=1 due to: No matching method for files/downloadVersion, with arguments [version] version id received from “BoxFile.Info” is 374220338428 .toD("box://files/downloadVersion?version=374220338428"); Exception : Failed to resolve endpoint: box://files/downloadVersion?version=374220338428 due to: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: java.lang.Integer with value 374220338428 due For input string: "374220338428" I this this is some bug. How to open a ticket ? Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 ________________________________ From: Andrea Cosentino <ancosen1...@yahoo.com.INVALID> Sent: Wednesday, November 21, 2018 2:32:13 PM To: users@camel.apache.org Subject: Re: Camel-box download file version Did you try by specifying option directly in the URI by using a toD? If you think this is a bug, please raise a JIRA in the Apache Camel JIRA. -- Andrea Cosentino ---------------------------------- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Wednesday, November 21, 2018, 2:12:23 PM GMT+1, Vladimir Cherepnalkovski <cherepnalkov...@hotmail.com> wrote: 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