Re: REST DSL process multipart/form-data binary file?

2017-10-02 Thread Mark
Figured it out. The Postman extension for Chrome sucks. The Advanced REST Client works properly and sends data to my server with no problem. I still think something is broke with the version of Jetty that comes with Camel 2.16.2, but netty4-http works like a champ. Thanks for helping me out.

REST DSL break up multipart/form-data into parts on POST

2017-10-02 Thread Mark
I have some REST endpoints running in Servicemix 6 and Camel 2.16.2. Is it possible to receive a binary file via HTTP POST that will be broken up into the individual parts? Seems like every option I've tried only gives me a StreamCache object and I then need to split up the individual parts. The

Re: JMS redelivery count is incremented on stop

2017-10-02 Thread Mario Rassy
(Sorry for the spam, a mail to add the message to the forum after I subscribed to the mailing list) From: Mario Rassy Sent: Tuesday, September 26, 2017 7:34:34 PM To: users@camel.apache.org Subject: JMS redelivery count is incremented on stop Hi, - Context (s

Re: REST DSL process multipart/form-data binary file?

2017-10-02 Thread Mark
I'm sending the data right now using the Postman app in Chrome. My data comes across looking like this: --WebKitFormBoundaryNZwE5GrXaeBuK9I9 Content-Disposition: form-data; name="fileUpload"; filename="nhc.kmz" Content-Type: application/vnd.google-earth.kmz [binary data] --WebKitFormBo

Re: REST DSL process multipart/form-data binary file?

2017-10-02 Thread Roman Vottner
How do you send data to your application? Have you specified a Content-Disposition header for the respective parts? We analysed a raw request via wireshark and it does look something like this: GET /api/someResource HTTP/1.1 Host: www.somewhere.com … Content-Type: mul