I am trying to build routes for restful services using JAX-RX and tomcat as a
server. So I have bunch of from("cxfrs:/...")... routes. However, I need to
apply a common logic that should apply to each HTTP URL under '/secure/' to
apply authentication/authorization logic. I also have a common logging/audit
logic that I need to apply to all my services. Should this logic be included
in all my routes, in which case I will have redendency with all the related
risks. Or is there a better solution to do this? 
I know I have the option of applying Java EE servlet filters, but I need
help to understand whether Camel has something else.
Thank you



--
View this message in context: 
http://camel.465427.n5.nabble.com/Applying-filtering-on-an-HTTP-pattern-tp5787976.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to