[ 
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)

Reply via email to