Re: netty4-http increase max content length

2017-11-29 Thread Mark
Thanks for responding Mary. I have tried to change the chunkedMaxContentLength setting, but my endpoint still fails when uploading a file greater than 1 MB (see what I’ve tried below). What I’m trying to figure out is, how do I configure the netty4-http component to use the updated “chunkedMaxCon

Re: netty4-http increase max content length

2017-11-29 Thread Mary Cochran
Have you tried the 'chunkedMaxContentLength' setting? Looks like the default is 1mb http://camel.apache.org/netty4-http.html Mary Cochran Mary Cochran Red Hat Consulting mcoch...@redhat.com (419) 543-0531 On Wed, Nov 29, 2017 at 10:02 AM, Mark wrote: > Sorry to be a pest, I still cannot figu

Re: netty4-http increase max content length

2017-11-29 Thread Mark
Sorry to be a pest, I still cannot figure out how to get the netty component to handle more than 1 MB. I've tried all sorts of configuration options: restConfiguration() .component("netty4-http") .bindingMode(RestBindingMode.off) .contextPath("whatever") .componentProperty("chunkedMaxContentLengt

netty4-http increase max content length

2017-11-28 Thread Mark
I am trying to create a Camel based REST endpoint that will need to consume file uploads greater than the default 1 MB limit. I created my REST configuration using the following code: restConfiguration() .component("netty4-http") .bindingMode(RestBindingMode.off) .contextPath("whateve