camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Mietz Egli (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-2949) Attachment DataHander.getName() returns the name of the temporary storage file, not the MIME part name
Date Wed, 14 Jul 2010 17:45:51 GMT

     [ 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.


Mime
View raw message