camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "knewsom@gmail.com" <kevin.new...@gmail.com>
Subject Filtering or 'short circuit' a route
Date Sun, 17 Jul 2016 01:45:18 GMT
Hello,

I am looking for some suggestions on how I might 'filter' an http route. The
general idea is to create a process that checks the http request for a valid
oauth access token and if valid, allows the route to continue. If missing or
invalid, 'something' would return an http response of 401 or 403 to the
client without completing the route (short circuit). 

I've glanced through some of the EIP but I haven't seen anything that I
could obviously use for this.

Thanks in advance,

Kevin



--
View this message in context: http://camel.465427.n5.nabble.com/Filtering-or-short-circuit-a-route-tp5785185.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message