cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6515) provider sorting not right
Date Mon, 10 Aug 2015 05:35:45 GMT

    [ https://issues.apache.org/jira/browse/CXF-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679595#comment-14679595
] 

Romain Manni-Bucau commented on CXF-6515:
-----------------------------------------

[~sergey_beryozkin] here is what I get with the following setup:

- bus providers: JohnzonProvider + JsrProvider
- user providers: ConfigurableJohnzonProvider

Result (ordered list):

{code}
[INFO]      org.apache.cxf.jaxrs.provider.StringTextProvider@74f6090c
[INFO]      org.apache.cxf.jaxrs.provider.PrimitiveTextProvider@af47f1b
[INFO]      org.apache.cxf.jaxrs.provider.FormEncodingProvider@4d0f58a9
[INFO]      org.apache.cxf.jaxrs.provider.MultipartProvider@6d0e2a12
[INFO]      org.apache.cxf.jaxrs.provider.SourceProvider@6a2e7d2d
[INFO]      org.apache.cxf.jaxrs.provider.JAXBElementProvider@430bcbd4
[INFO]      org.apache.johnzon.jaxrs.JohnzonProvider@6834f33a
[INFO]      org.apache.johnzon.jaxrs.JsrProvider@716a2c04
[INFO]      org.apache.johnzon.jaxrs.ConfigurableJohnzonProvider@6ca20c96
[INFO]      org.apache.cxf.jaxrs.provider.BinaryDataProvider@2858d667
[INFO]      org.apache.cxf.jaxrs.provider.DataSourceProvider@673a5d75
{code}

Of course ConfigurableJohnzonProvider should be before JohnzonProvider. Both are using wildcard
consumer/produce media types.


> 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)

Mime
View raw message