Hello comunity,

we have migrated out Camel Spring Boot Project to v 4.7 and started to use the 
new Documentation first approach as described here 
https://camel.apache.org/manual/rest-dsl-openapi.html. That helped us simplify 
out prooject quite a bit. 

My question is: Is it possible to inject some code (processor, bean, route) 
before the the exchange is routed to the direct endpoint? In particular I would 
like to perform authorization check and some basic header validation.

I can do that by some shared processor or route called at the beginning of each 
direct route but having it centralized in the rest consumer would be lighter 
and cleaner.

Best regards

Jiri Medved

Reply via email to