Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10492

Camel Servlet, attachment object is empty

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      I send a multipart form data to my camel servlet, before camel 2.18 attachment object is ok now is empty!

      Now i have an header every form field but every field is java.lang.String

      So, I can not post any binary file.

      This is my web.xml filter

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

      Into zip file, you can found an example.

      Attachments

        1. camel-example-servlet-attachment.zip
          11 kB
          Fabrizio Spataro

        Activity

          People

            davsclaus Claus Ibsen
            fabryprog Fabrizio Spataro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: