Re: Filters option not available in Netty-http Component

2020-12-08 Thread Alex Luo
Yes sounds like it’s Jetty specific option. Thanks Alex Luo > On Dec 8, 2020, at 10:03 AM, Claus Ibsen wrote: > > Hi > > Okay so the jetty filter would then silently just drop incoming > requests if your custom filter would return false? > Its a custom jetty feature and not available in all o

Re: Filters option not available in Netty-http Component

2020-12-08 Thread Claus Ibsen
Hi Okay so the jetty filter would then silently just drop incoming requests if your custom filter would return false? Its a custom jetty feature and not available in all other http components. On Tue, Dec 8, 2020 at 3:42 PM Alex Luo wrote: > > Hi Clause, > > We are using filters to validate th

Re: Filters option not available in Netty-http Component

2020-12-08 Thread Alex Luo
Hi Clause, We are using filters to validate the incoming http request into netty-http Consumer. Only valid http requests can trigger the camel http flow. Inside the filters (i.e. doFilter() ) logic, we check the request's header Authorization information to authorize the incoming request. We use

Re: Filters option not available in Netty-http Component

2020-12-07 Thread Claus Ibsen
Hi What do you want to do, eg what do you need a filter for? On Mon, Dec 7, 2020 at 10:46 PM Alex Luo wrote: > > We are trying to use netty-http component for exposing REST Http endpoint. > But we find out netty-http doesn't have filters (Consumer) opton. It is > available in Jetty component. >

Filters option not available in Netty-http Component

2020-12-07 Thread Alex Luo
We are trying to use netty-http component for exposing REST Http endpoint. But we find out netty-http doesn't have filters (Consumer) opton. It is available in Jetty component. What is the alternative of filters option in netty-http? Thanks. -- Sincerely, Alex