Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5EF7949A for ; Fri, 2 Dec 2011 09:22:09 +0000 (UTC) Received: (qmail 16564 invoked by uid 500); 2 Dec 2011 09:22:09 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 15725 invoked by uid 500); 2 Dec 2011 09:22:06 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 15555 invoked by uid 99); 2 Dec 2011 09:22:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2011 09:22:04 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2011 09:22:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 960C5B0D0F for ; Fri, 2 Dec 2011 09:21:40 +0000 (UTC) Date: Fri, 2 Dec 2011 09:21:40 +0000 (UTC) From: "Aki Yoshida (Commented) (JIRA)" To: issues@camel.apache.org Message-ID: <470478586.34314.1322817700616.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1199670791.31655.1322764840108.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-4731) simpler wiring of Camel CXF endpoints to named CXF buses in spring MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161503#comment-13161503 ] Aki Yoshida commented on CAMEL-4731: ------------------------------------ Hi Dan, the blueprint stuff is handled correctly in camel. Regarding your second comment, I am not sure if it is straightforward to fix the issue within CXF. Initially, I also tried to fix it by modifying CXF's AbstractBeanDefinitionParser's bus attribute handling. But this lead to another issue that required a larger amount of changes. The complication seems to come from the fact that the bus attribute is semantically used in two different contexts (i.e., to reference a specific bus or to define a bus). The fix that I suggested is similar to what the current CXF jaxws endpoint implementation does to get this wiring working. Another benefit of this camel based fix is that you can run the fixed camel version against older CXF versions (so that we can stabilize the camel-cxf's endpoint wiring convention without dependency to a specific version of CXF) Thanks. regards, aki > simpler wiring of Camel CXF endpoints to named CXF buses in spring > ------------------------------------------------------------------ > > Key: CAMEL-4731 > URL: https://issues.apache.org/jira/browse/CAMEL-4731 > Project: Camel > Issue Type: Improvement > Components: camel-cxf > Affects Versions: 2.8.3 > Reporter: Aki Yoshida > Assignee: Daniel Kulp > Priority: Minor > Fix For: 2.8.4, 2.9.0 > > Attachments: patch.txt > > > I think the current wiring configuration (used in those camel-cxf tests) for wiring CXF endpoints to specific cxf bus instances using spring is cumbersome and not appealing. So, I would like to suggest a patch for this problem. > To start, here is how the the current configuration convention looks like: > > > > > ... > > > .... > > serviceClass="..." > ... > bus="cxf1"/> > serviceClass="..." > ... > bus="cxf2"/> > > I would like to get rid of the indirect wiring of the CXF endpoints using ExtensionManagerBus beans. The attached patch for camel/trunk should directly wire the endpoints to the named buses. I would appreciate if you can look at it. > Thank you. > regards, aki -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira