Duchaine, David
2018-10-02 14:26:44 UTC
Hello everyone,
Camel version 2.21.2
We have configured a CXF Endpoint and getting the following exception while returning the response to the client:
Maximum Number of Child Elements limit (50000) Exceeded
While setting the
org.apache.cxf.stax.maxChildElements
as a system property on the JVM works, we'd prefer to have the property applied on a specific endpoint only.
As specified in the CXF Component doc, we tried setting the property on the URI as follows
but it doesn't work because we still hit the default limit:
properties.org.apache.cxf.stax.maxChildElements=100000
We've tried adding the following property but still no avail:
properties.org.apache.cxf.interceptor.OneWayProcessorInterceptor.USE_ORIGINAL_THREAD=true
Are we missing something here?
thanks,
David
Camel version 2.21.2
We have configured a CXF Endpoint and getting the following exception while returning the response to the client:
Maximum Number of Child Elements limit (50000) Exceeded
While setting the
org.apache.cxf.stax.maxChildElements
as a system property on the JVM works, we'd prefer to have the property applied on a specific endpoint only.
As specified in the CXF Component doc, we tried setting the property on the URI as follows
but it doesn't work because we still hit the default limit:
properties.org.apache.cxf.stax.maxChildElements=100000
We've tried adding the following property but still no avail:
properties.org.apache.cxf.interceptor.OneWayProcessorInterceptor.USE_ORIGINAL_THREAD=true
Are we missing something here?
thanks,
David