Can you show me the whole stack trance? It could be helpful if you can catch the HTTP Request and Response without using the proxy.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Thursday, November 7, 2013 at 8:34 PM, berdoni wrote: > Simple Rest services are proxied successfully as with jetty.The saveDocument > Rest service fails again for a pdf file. It works OK for small txt files. > All at all same behavior but different error message. > > 2013-11-07 14:26:39,482 | ERROR | p1609546665-2068 | DefaultErrorHandler > | 95 - org.apache.camel.camel-core - 2.10.4 | Failed delivery for > (MessageId: HP-50802-1383742721528-86-4 on ExchangeId > : HP-50802-1383742721528-86-3). Exhausted after delivery attempt: 1 caught: > org.apache.camel.component.http.HttpOperationFailedException: HTTP operation > failed invoking http://...:8080/.../saveDocument with statusCode: 400 > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Jetty-proxy-Rest-service-fails-for-file-uploading-tp5742769p5742780.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).