I am pretty sure it is because the annotation is Spring and the other is
Camel and Spring is in control, not Camel. For a global way with spring,
see this -
https://spring.io/guides/gs/rest-service-cors/
On Fri, Aug 7, 2020 at 1:57 AM Ron Cecchini wrote:
>
> Hi, guys.
>
> I have a Camel (3.4.2)
Hi, guys.
I have a Camel (3.4.2) + Spring Boot (2.3.1.RELEASE) web service using Undertow.
I ran into my first CORS (cross-origin resource sharing) issue, googled around,
and solved it with @CrossOrigin.
My question has to do with why I could *not* solve it with