[ https://issues.apache.org/jira/browse/CXF-5364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809968#comment-13809968 ]
Raj Anand commented on CXF-5364: -------------------------------- We have a setBus(Bus bus) method in , org.apache.cxf.endpoint.EndpointImpl. However, an API which takes the bus id would be more convenient. OR, if we can have a API which takes the bus ID and returns the bus instance then we can easily set this bus to the endpoint programmatically as well. Kindly suggest. > 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)