[
https://issues.apache.org/jira/browse/CXF-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14680284#comment-14680284
]
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: https://issues.apache.org/jira/browse/CXF-6515
> 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
(v6.3.4#6332)