Re: https://issues.apache.org/jira/browse/TOMEE-2100 - @Priority

2017-07-26 Thread Romain Manni-Bucau
Hi Jon If we do it this way - jaxrs 2.1 - I d be to PR cxf instead of tomee. We fork too much code to stay sane here. What about just sorting by priority blindly? Cxf will handle the q and type sorting anyway, no? Le 26 juil. 2017 22:18, "Jonathan Gallimore" a écrit : > Hi, > > I've had a go a

Re: https://issues.apache.org/jira/browse/TOMEE-2100 - @Priority

2017-07-26 Thread Jonathan Gallimore
Hi, I've had a go at this: https://github.com/apache/tomee/pull/96 This creates a default comparator when no setting for cxf.jaxrs.provider-comparator is specified. This will order by priority first, but will still incorporate the default CXF sorting where priorities are the same for backwards co

Re: Probleme with johnzon

2017-07-26 Thread Romain Manni-Bucau
2017-07-26 11:19 GMT+02:00 olivier_1 : > Hi > Thank you for your reactivity > > i have already make it . > Not really. This specifies the endpoint types but jackson is still */*: @Provider @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)

Re: Probleme with johnzon

2017-07-26 Thread olivier_1
Hi Thank you for your reactivity i have already make it . @PUT @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Response putPerson(Person person) throws URISyntaxException{ logger.info(person.toString());