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?