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 C3EA810795 for ; Tue, 19 Nov 2013 11:11:25 +0000 (UTC) Received: (qmail 9116 invoked by uid 500); 19 Nov 2013 11:11:23 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 9087 invoked by uid 500); 19 Nov 2013 11:11:22 -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 9067 invoked by uid 99); 19 Nov 2013 11:11:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Nov 2013 11:11:21 +0000 Date: Tue, 19 Nov 2013 11:11:21 +0000 (UTC) From: "Sambit Dikshit (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5364) Multiple cxf buses in the same spring context 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-5364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826391#comment-13826391 ] Sambit Dikshit commented on CXF-5364: ------------------------------------- [~sergey_beryozkin] - Hope you got what i'm saying here. To keep very simple as a test case - Have a clientA.xml and clientB.xml which have their own bus configurations. Now ServiceA whose configuration is defined in serviceA.xml will call ServiceB through clientB which uses clientB.xml. So ServiceA includes the clientB.xml inside serviceA.xml. This is where the bus gets over lapped. Is there a way we can define a namespace to a bus and assign it to each endpoint at runtime - programatically. That will solve our problem. > Multiple cxf buses in the same spring context > ---------------------------------------------- > > Key: CXF-5364 > URL: https://issues.apache.org/jira/browse/CXF-5364 > Project: CXF > Issue Type: Improvement > Reporter: Raj Anand > Fix For: NeedMoreInfo > > > We have a client side CXF bus with in/out interceptors and , a server side bus with in/out interceptors. If the same service is being used for both client side and server side invocations , the 2 buses end up in the same spring application context. As a result of this one CXF bus is over-written and the interceptor chain for that CXF bus is lost.So how do we manage multiple CXF buses in the same application context without the 2 buses interfering with each other. -- This message was sent by Atlassian JIRA (v6.1#6144)