You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Himanshu Mittal (JIRA)" <ji...@apache.org> on 2017/09/20 06:11:00 UTC

[jira] [Updated] (CAMEL-11792) New ftp connection for each file transfer with tempFileName option in URI

     [ https://issues.apache.org/jira/browse/CAMEL-11792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Himanshu Mittal updated CAMEL-11792:
------------------------------------
    Attachment: TestFTPConnection.java

Sample program to reproduce the issue


> New ftp connection for each file transfer with tempFileName option in URI
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-11792
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11792
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.19.2
>            Reporter: Himanshu Mittal
>         Attachments: TestFTPConnection.java
>
>
> When we have {{tempFilename}} in camel uri and we use producer template to write file to remote ftp location , camel opens new connection for every file transfer. Though disconnect option is set to false in uri.
> If we take out tempFilename from uri connections are reused



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)