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


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.

Reply via email to