camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11680) Camel-dropbox should support Put not only from localPath
Date Wed, 06 Sep 2017 06:58:02 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154908#comment-16154908
] 

Claus Ibsen commented on CAMEL-11680:
-------------------------------------

It works similar to the existing logic, where the remotePath is a path, and you can then specify
a name to use. 
{code}
            if (dropboxPath.endsWith(DropboxConstants.DROPBOX_FILE_SEPARATOR)) {
                dropboxPath = dropboxPath + name;
            }
{code}

However you can also specify the name in the remotePath directly, such as foo.txt then the
that would be the name.


> 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)

Mime
View raw message