Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 84371 invoked from network); 4 Feb 2011 08:17:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2011 08:17:54 -0000 Received: (qmail 89939 invoked by uid 500); 4 Feb 2011 08:17:53 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 89775 invoked by uid 500); 4 Feb 2011 08:17: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 89767 invoked by uid 500); 4 Feb 2011 08:17:50 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 89764 invoked by uid 99); 4 Feb 2011 08:17:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 08:17:50 +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; Fri, 04 Feb 2011 08:17: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 1174C18604B for ; Fri, 4 Feb 2011 08:17:26 +0000 (UTC) Date: Fri, 4 Feb 2011 08:17:25 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Message-ID: <1526241373.493.1296807445952.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <541266281.7347.1296741689238.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Assigned: (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:all-tabpanel ] Claus Ibsen reassigned CAMEL-3617: ---------------------------------- Assignee: Claus Ibsen > 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, 2.6.0 > Environment: Windows Vista > Reporter: Jean-Michel Morel > Assignee: Claus Ibsen > > 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