I have to store the request xml in to database. I was using header variable to do that.
exchange.getIn().setHeader("inputRequestXml", body);
it was working for some files And I was getting below exception for some files, it seems like because of the file size.
413 Request entity too large
So I have changed the implementation by using camel property, like below
exchange.setProperty("inputRequestXml", body);
Now I am not getting the exception. But I am afraid that will it handle the bigger files in actual PROD environment. So i want to know, What would be the size limit of header variable and property?