[
https://issues.apache.org/jira/browse/CAMEL-11680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160367#comment-16160367
]
Kamil commented on CAMEL-11680:
-------------------------------
[~davsclaus], now it doesn't throw an exception, but returns "KO" and file is
not being sent:
{code}
from("direct:dropBoxPut")
.convertBodyTo(byte[].class)
.setHeader(DropboxConstants.HEADER_PUT_FILE_NAME, constant("myfile.xml"))
.toD("dropbox:put?uploadMode=force&remotePath=/&accessToken={{dropbox.key}}")
{code}
> Camel-dropbox should support Put not only from localPath
> --------------------------------------------------------
>
> Key: CAMEL-11680
> URL: https://issues.apache.org/jira/browse/CAMEL-11680
> Project: Camel
> Issue Type: Improvement
> Components: camel-dropbox
> Reporter: Kamil
> Assignee: Claus Ibsen
> Fix For: 2.20.0
>
>
> Currently if I want to Put file on Dropbox using Camel-Dopbox I must create
> temporary file, write to it using file:// and then use:
> {code}
> dropbox://put?localPath=${header.myTempFile}
> {code}
> which is tedious.
> Camel-dropbox should support writing directly from Exchange
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)