Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 628 invoked from network); 12 Nov 2010 11:07:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Nov 2010 11:07:19 -0000 Received: (qmail 46602 invoked by uid 500); 12 Nov 2010 11:07:50 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 46568 invoked by uid 500); 12 Nov 2010 11:07:50 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 46560 invoked by uid 500); 12 Nov 2010 11:07:50 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 46557 invoked by uid 99); 12 Nov 2010 11:07:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Nov 2010 11:07:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Nov 2010 11:07:47 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oACB7Ox5007928 for ; Fri, 12 Nov 2010 11:07:25 GMT Message-ID: <26582755.3631289560044905.JavaMail.jira@thor> Date: Fri, 12 Nov 2010 06:07:24 -0500 (EST) From: "Willem Jiang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-3117) cxfbean and cxfrs components should honour jax-rs providers in the bean registry In-Reply-To: <6287593.14031284182140366.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-3117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63301#action_63301 ] Willem Jiang commented on CAMEL-3117: ------------------------------------- If you want to add the provider into the camel cxfrs endpoint, you need to do the thing like this {code} True {code} > cxfbean and cxfrs components should honour jax-rs providers in the bean registry > -------------------------------------------------------------------------------- > > Key: CAMEL-3117 > URL: https://issues.apache.org/activemq/browse/CAMEL-3117 > Project: Apache Camel > Issue Type: Improvement > Components: camel-cxf > Affects Versions: 2.4.0 > Environment: cxfrs and cxfbean > Reporter: Christopher Hunt > Assignee: Willem Jiang > Fix For: 2.5.0 > > Attachments: providers.diff > > > The cxfbean component does not presently provide a means of using custom providers i.e. those customised JAX-RS classes that are annotated with the @Provider declaration. > My recommendation is that objects instantiated in the bean container from classes annotated with @Provider are automatically registered for use by the cxfrs and cxfbean components. This includes message body writers/readers and parameter handlers i.e. anything that can be presently expressed in the cxf:rsServer/providers element. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.