cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-6515) provider sorting not right
Date Mon, 10 Aug 2015 15:55:45 GMT


Sergey Beryozkin commented on CXF-6515:

Hi Romain,

Yes, I'll update the code to have custom endpoint-specific providers preferred to equal bus-specific
providers, you are right this is out of the spec scope and I guess it can be generally useful.

I've spotted  the section JSR 339 10.2.6 (JSON Provider), hmm, this is not a spec issue now
but can be the question of CXF recognizing a custom provider coming from TomEE as a default
provider because in TomEE, as per 10.2.6, it is a MUST provider. However, even if we do it
then I'm not sure how can it help. You still need to have application/json and application/*+json
listed in its Consumes/Produces and if you do it then it will be preferred to other wild card
object providers 

> provider sorting not right
> --------------------------
>                 Key: CXF-6515
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.3, 3.0.7
> Didnt dig too much into it but seems sorting with a custom comparator is not respected,
can be linked to 6514, if this 6514 is fixed I'll test again to confirm this one

This message was sent by Atlassian JIRA

View raw message