cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sambit Dikshit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5364) Multiple cxf buses in the same spring context
Date Thu, 21 Nov 2013 05:00:37 GMT

    [ https://issues.apache.org/jira/browse/CXF-5364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13828496#comment-13828496
] 

Sambit Dikshit commented on CXF-5364:
-------------------------------------

[~sergey_beryozkin] - I'm thinking of having a custom busfactory similar to SpringBusfactory
and it will have constructor as well as overloaded methods which will take "bus id/name" along
with classloader to get a different bus something like. 

CustomSpringBusFactory.getBus(id) - this will return the bus specific to the id.  If not supplied
it will return the default bus "cxf".  

Does it make sense ? 

On the protobuf provider, we have a JAXRS based provider. Mayank from our team will start
a new JIRA on this and we will submit the patch. Once you review, you can provide your suggestions
if any to improve / add.  
 

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

Mime
View raw message