cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sambit Dikshit (JIRA)" <>
Subject [jira] [Commented] (CXF-5364) Multiple cxf buses in the same spring context
Date Tue, 19 Nov 2013 11:11:21 GMT


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

View raw message