camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <elihusma...@gmail.com>
Subject Jetty POST multipart parsing
Date Tue, 28 Nov 2017 18:05:52 GMT
I have a REST DSL route where I will be receiving binary files via HTTP
POST.  The data comes in to the Camel route, but the body contains the
Boundary data, and content data like this:

------WebKitFormBoundarynB8xvLY3l8fNLpcG
Content-Disposition: form-data; name="filename"; filename="attachment"
Content-Type: application/stuff

[The actual file data]

How can I get at just the data and not the header information?  Do I need
to bring in another library like commons-fileupload or is there something
already in camel-jetty that can help me?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message