Hi

See this section:
https://cxf.apache.org/docs/security.html#Security-XML

if it is related to the XML payload size then you can set either system or contextual (endpoint-specific) properties. I think setting per-endpoint specific properties will not work correctly with earlier CXFRS components - setting the properties has been fixed recently, and besides that, those security properties were not effective in CXF JAX-RS frontend when set on the per-endpoint basis (fixed in 2.7.10 or may be in soon to be released 2.7.11).
So for now please set them as system properties

HTH, Sergey

On 01/04/14 22:41, higorcoliveira wrote:
Hi!

I'm using Camel and my routes are deployed in JBOSS FUSE 6.0.0. I'm using
CXFRS component to receive requests and start my route. When I receive a
request containing a XML in body with about 20k lines, my route is started
without problem. But when I send a request with, for example, 30k lines,
CXFRS component denies the request and returns a 400 httpStatus error. The
route don't starts.

I searched in foruns about cxf and jetty and read that this could be a
problem relative to body max size.

Question: is there a way to configure this size in CFXRS Component XML (The
tag <cxf:rsServer>)? Or perhaps configure this somewhere in Jetty?

Any help will be appreciated.

Long life to Camel.

Thanks in advance.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Body-Max-Size-in-a-Request-using-Camel-CXFRS-Component-tp5749646.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Reply via email to