How to align Spring Boot context path with Apache Camel context path?


This Content is from Stack Overflow. Question asked by Marian Klühspies

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:*

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.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?