You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/05/03 11:06:12 UTC

[jira] [Commented] (CAMEL-8633) Servlet & Multipart

    [ https://issues.apache.org/jira/browse/CAMEL-8633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15268396#comment-15268396 ] 

Claus Ibsen commented on CAMEL-8633:
------------------------------------

There is a new option on the serlvet component you must enable: attachmentMultipartBinding

    /**
     * Whether to automatic bind multipart/form-data as attachments on the Camel {@link Exchange}.
     * <p/>
     * This is turn off by default as this may require servet specific configuration to enable this when using Servlet's.
     */
    public void setAttachmentMultipartBinding(boolean attachmentMultipartBinding) {
        this.attachmentMultipartBinding = attachmentMultipartBinding;
    }


> Servlet & Multipart 
> --------------------
>
>                 Key: CAMEL-8633
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8633
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-http, camel-servlet
>    Affects Versions: 2.12.4
>            Reporter: Richard Groote
>            Assignee: Claus Ibsen
>             Fix For: 2.18.0
>
>         Attachments: ServletHttpBinding.java
>
>
> The servlet component cannot handle attachments from a multipart request.
> In our situation a REST multipart call is made and the attachments must be handled.
> I created a extension on the DefaultHttpBinding and added functionality for multipart parsing. May be this functionality can be added to apache camel.



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