You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/10/22 08:12:30 UTC

[GitHub] [camel-quarkus] ppalaga opened a new issue #308: Support multipart/form-data in platform-http extension

ppalaga opened a new issue #308: Support multipart/form-data in platform-http extension
URL: https://github.com/apache/camel-quarkus/issues/308
 
 
   I assume we definitely want to support this, for the `platform-http` to be on par with the older HTTP components.
   
   The question is how to implement that. The older components use `AttachmentMessage` from `camel-attachments` to store the uploaded files. `camel-attachments` depends on `javax.activation`.
   
   (a) The "easy" solution: pull `camel-attachments` and `javax.activation` as dependencies, and do not care for the increase of the app size caused by that.
   
   (b) The "optional" solution: provide some no-op handling of file uploads by default that does not depend on `camel-attachments` and `javax.activation`. Handle the uploads properly via `camel-attachments` (wrapped in an extension) and `javax.activation` only if the user adds them as deps. 
   
   (c) ?
   
   Is the work associated with (b) worth the benefits it might bring?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services