Thanks again Sergey.. It looks like @Priority isn't supported in the javax.ws.rs-api that ships with cxf 2.7.6, is this something which will be part of a later release or can I use the latest version of javax.ws.rs-api with 2.7.6?
Thanks Mandy Sent from a mobile device On 18 Sep 2013, at 12:43, Sergey Beryozkin <[email protected]> wrote: > Hi > On 18/09/13 12:28, Mandy Warren wrote: >> Hi >> >> I need to use Request and Response Handlers rather than Interceptors and >> would like to know how I specify the order in which multiple Request >> Handlers are run(eg need to do validation first, then security etc). >> >> Is it based on the order of declaration of beans in the jaxrs:providers >> section? > Yes; but if you are on CXF 2.7.x then you can also use JAX-RS 2.0 > ContainerRequestFilter and order them with a @Priority annotation > > Cheers, Sergey >> Thanks >> Mandy >> >> Sent from a mobile device >
