Re: camel jetty form data not working

2015-02-01 Thread Willem Jiang
camel jetty is using org.eclipse.jetty.servlets.MultiPartFilter to handle the 
multi part message, you may need to extend MultiPartFilter for it.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On February 1, 2015 at 3:04:21 PM, vvsh (vvs...@gmail.com) wrote:
 After several hours of debugging and investigation camel-jetty code, i figure
 out, that:
  
 1) it does not accept multipart requests from Postman client (different form
 of boundary, exception: IOException: Missing initial multi part boundary)
 2) it does not work over https (only http)
 3) it does not work when URI contains some parameters, for example:
 /upload/item/{categoryId}
  
 Works only with URI /upload/item and without https, but it is not acceptable
 to me due to security.
  
 I guess it need to send to camel-jetty developers to fix this issues.
  
  
  
 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/camel-jetty-form-data-not-working-tp5760662p5762281.html
   
 Sent from the Camel - Users mailing list archive at Nabble.com.
  



Re: camel jetty form data not working

2015-02-01 Thread vvsh
Maybe I have misunderstanding, but filter is disabled in consumer, but check
custom filter will be used happens before, in createEndPoint, and filter
will not be used nowhere.



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-jetty-form-data-not-working-tp5760662p5762309.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: camel jetty form data not working

2015-01-31 Thread vvsh
After several hours of debugging and investigation camel-jetty code, i figure
out, that:

1) it does not accept multipart requests from Postman client (different form
of boundary, exception: IOException: Missing initial multi part boundary)
2) it does not work over https (only http)
3) it does not work when URI contains some parameters, for example:
/upload/item/{categoryId}

Works only with URI /upload/item and without https, but it is not acceptable
to me due to security.

I guess it need to send to camel-jetty developers to fix this issues.



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-jetty-form-data-not-working-tp5760662p5762281.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: camel jetty form data not working

2015-01-30 Thread vvsh
I am using form-data, trying from Postman client.



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-jetty-form-data-not-working-tp5760662p5762260.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: camel jetty form data not working

2014-12-16 Thread Willem Jiang
How did you submit the attachments?
camel-jetty supports multipart/form out of box.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On December 15, 2014 at 2:48:14 PM, vvsh (vvs...@gmail.com) wrote:
 Hello.
  
 I am using camel-rest with jetty.
  
  
  
 uploadFromFileProcessor:
  
  
  
 But this does not work.
 Can you help?
 Thaks
  
  
  
 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/camel-jetty-form-data-not-working-tp5760662.html
   
 Sent from the Camel - Users mailing list archive at Nabble.com.