I’ve a camel route which makes API request, the external service may though 4xx or 5xx. I have written HttpOperationFailedException handler to handle all HTTP related exception and I’m retrying all the Http exceptions irrespective of whether its client side or server side exceptions. I would like to handle them in a way, I need to avoid the reties for
Tag: camel-rest
Request validation doesn’t happen in camel rest
I am trying to experiment by building some simple API’s with apache camel. The request body for a post request is empty but camel doesn’t return bad request instead it returns 201. Here is what I do; Generate classes from studentreg-api.yaml [This is a valid openapi 3 yaml document] Using camel, spring boot to build REST endpoints Step Configured camel