Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 70764 invoked from network); 14 Jul 2010 17:53:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Jul 2010 17:53:46 -0000 Received: (qmail 80765 invoked by uid 500); 14 Jul 2010 17:53:46 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 80556 invoked by uid 500); 14 Jul 2010 17:53:45 -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 80548 invoked by uid 500); 14 Jul 2010 17:53:45 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 80545 invoked by uid 99); 14 Jul 2010 17:53:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 17:53:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 17:53:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6EHjpwW008480 for ; Wed, 14 Jul 2010 17:45:52 GMT Message-ID: <2579056.41921279129551858.JavaMail.jira@thor> Date: Wed, 14 Jul 2010 13:45:51 -0400 (EDT) From: "Paul Mietz Egli (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-2949) Attachment DataHander.getName() returns the name of the temporary storage file, not the MIME part name In-Reply-To: <20883.41911279129431798.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Mietz Egli updated CAMEL-2949: ----------------------------------- Attachment: CAMEL-2949.patch Patch for CamelFileDataSource which exposes the attachment name instead of the temporary file name. Includes update to camel-jetty MultiPartFormTest unit test class to verify change. > Attachment DataHander.getName() returns the name of the temporary storage file, not the MIME part name > ------------------------------------------------------------------------------------------------------ > > Key: CAMEL-2949 > URL: https://issues.apache.org/activemq/browse/CAMEL-2949 > Project: Apache Camel > Issue Type: Bug > Components: camel-http, camel-jetty > Affects Versions: 2.5.0 > Reporter: Paul Mietz Egli > Attachments: CAMEL-2949.patch > > > When multipart file uploads are converted to message attachments in the DefaultHttpBinding class, the DataHandler that is created for the attachment returns the name of the temporary file created by Jetty, not the value of the name from the Content-Disposition header. It would be useful to have the actual attachment name instead of the temporary filename in the DataHandler object for easier downstream processing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.