camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8633) Servlet & Multipart
Date Tue, 03 May 2016 09:06:12 GMT

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

Mime
View raw message