How to enable large CXF responses (more than 500KB)
Issue
We are using a load benchmark which includes a web service running in Fuse that returns a variable sized response using a simple algorithm. For an input of 500 it will generate a response size of 500*500 characters, more or less.
Our service breaks at 175 for a default install. If I bump up the responseBufferSize parameter in ./etc/jetty.xml (which defaults to 32K, about 175*175) it will go up to 238, but no higher, even with the buffer set to 10MB.
How can I enable a CXF web service running in JBoss Fuse container to return large responses?
Environment
- JBoss Fuse 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.