I to have a unified context path /api/* for all my RestControllers, as well as all of my Apache Camel Routes that are using rest.
For my understanding, these are the properties that are required to set:
camel.rest.api-context-path=/api/* server.servlet.context-path=/api/* camel.servlet.mapping.context-path=/api/*
However, it seems they are somehow conflicting and I cannot get them working all together. It usually leads to 404 errors and none of the routes are accessible.
What do I have to do in order to make everything working under the same context path?
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.