camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabrizio Spataro (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10492) Camel Servlet, headers instance of String
Date Thu, 17 Nov 2016 16:53:58 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Fabrizio Spataro updated CAMEL-10492:
-------------------------------------
    Attachment: camel-example-servlet-attachment.zip

> Camel Servlet, headers instance of String
> -----------------------------------------
>
>                 Key: CAMEL-10492
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10492
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-servlet
>            Reporter: Fabrizio Spataro
>            Priority: Minor
>         Attachments: camel-example-servlet-attachment.zip
>
>
> Since 2.18 i have a new bug!
> I send a multipart form data to my camel servlet, before camel 2.18 i have an <b>attachment
object</b> every form field.
> Now i have an <b>header</b> every form field.
> It is ok but ALL header (form field) are instance of java.lang.String
> So, I can not post any binary file.
> Is it a camel bug? 
> This is my filter into web.xml
> {code:xml}
> 	<filter>
> 		<filter-name>MultipartFilter</filter-name>
> 		<filter-class>org.eclipse.jetty.servlets.MultiPartFilter</filter-class>
> 	</filter>
> 	<filter-mapping>
> 		<filter-name>MultipartFilter</filter-name>
> 		<servlet-name>CamelServlet</servlet-name>
> 	</filter-mapping>
> {code}
> Into zip file, you can found an example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message