Re: Jetty consumer responds with a 500 error java.io.IOException: Response header too large

2017-12-20 Thread Roman Vottner
Do you somehow store the received file into camel headers? Camel will return most headers to the invoker and usually HTTP headers > 8kb will produce that kind of exception. You might want to introduce a customized HttpHeaderFilterStrategy similar to the sample below to avoid returning certain

Re: Jetty consumer responds with a 500 error java.io.IOException: Response header too large

2017-12-20 Thread Laurentiu Trica
Camel version: 2.16.3 Thanks! On Tue, Dec 19, 2017 at 6:27 PM, Andrea Cosentino < ancosen1...@yahoo.com.invalid> wrote: > What version of camel are you using? > > Inviato da Yahoo Mail su Android > > Il mar, 19 dic, 2017 alle 16:45, Laurentiu Trica moredevs.ro> ha scritto:

R: Jetty consumer responds with a 500 error java.io.IOException: Response header too large

2017-12-19 Thread Andrea Cosentino
What version of camel are you using? Inviato da Yahoo Mail su Android Il mar, 19 dic, 2017 alle 16:45, Laurentiu Trica ha scritto: Hello, I have a problem with the Jetty consumer. I receive a file with an attached file (Multi-Part Form), but if the file is

Jetty consumer responds with a 500 error java.io.IOException: Response header too large

2017-12-19 Thread Laurentiu Trica
Hello, I have a problem with the Jetty consumer. I receive a file with an attached file (Multi-Part Form), but if the file is bigger than a few KB, I get the bellow Stack trace. If the file is smaller, everything works fine. The strange part is that for a size of 80KB I still receive the file in