Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 6795 invoked from network); 3 Feb 2011 15:36:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 15:36:53 -0000 Received: (qmail 9596 invoked by uid 500); 3 Feb 2011 15:36:53 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 9431 invoked by uid 500); 3 Feb 2011 15:36:51 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 9412 invoked by uid 500); 3 Feb 2011 15:36:50 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 9409 invoked by uid 99); 3 Feb 2011 15:36:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 15:36:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 15:36:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EA00718C327 for ; Thu, 3 Feb 2011 15:36:28 +0000 (UTC) Date: Thu, 3 Feb 2011 15:36:28 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Message-ID: <904515462.7483.1296747388939.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <541266281.7347.1296741689238.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (CAMEL-3617) Inconsistent filename value when move attribute is used with File component MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990133#comment-12990133 ] Claus Ibsen commented on CAMEL-3617: ------------------------------------ Can you try with Camel 2.6 which has been released? > Inconsistent filename value when move attribute is used with File component > --------------------------------------------------------------------------- > > Key: CAMEL-3617 > URL: https://issues.apache.org/jira/browse/CAMEL-3617 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.5.0 > Environment: Windows Vista > Reporter: Jean-Michel Morel > > Unless I miss a point, when I use the following endpoint, the file:name value is incorrect and is equal to file:absolute.path > > ${queue.input.folder}, ${queue.done.folder} and ${queue.failed.folder} are absolute paths resolved by Spring. > In fact, Camel tries to move the file to ${queue.done.folder}/${queue.input.folder}/$simple{file:name} > I've also tried using $simple{header.CamelFileName} instead of $simple{file:name} and it gives the same result. > For now, I've found a workaround using a processor which put the CamelFileName header value into a "destFile" property > -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira