Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D13BD1882B for ; Mon, 3 Aug 2015 21:37:04 +0000 (UTC) Received: (qmail 54581 invoked by uid 500); 3 Aug 2015 21:37:04 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 54532 invoked by uid 500); 3 Aug 2015 21:37:04 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 54518 invoked by uid 99); 3 Aug 2015 21:37:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2015 21:37:04 +0000 Date: Mon, 3 Aug 2015 21:37:04 +0000 (UTC) From: "Romain Manni-Bucau (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6514) endpoints returning String can't use a custom provider MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652566#comment-14652566 ] Romain Manni-Bucau commented on CXF-6514: ----------------------------------------- Endpoint is @GET @Produces("openejb/constant") String get(); and provider is MessageBodyWriter. > endpoints returning String can't use a custom provider > ------------------------------------------------------ > > Key: CXF-6514 > URL: https://issues.apache.org/jira/browse/CXF-6514 > Project: CXF > Issue Type: Bug > Reporter: Romain Manni-Bucau > > Seems sorting of providers in ServerProviderFactory is done in a way you cant override the provider used for String type even using a custom @Produces type cause StringTextProvider si always selected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)