cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CXF-3162) Make it possible to set bus id through core:bus namespace handler
Date Wed, 07 Sep 2011 16:07:10 GMT

     [ https://issues.apache.org/jira/browse/CXF-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp reassigned CXF-3162:
--------------------------------

    Assignee: Daniel Kulp

> Make it possible to set bus id through core:bus namespace handler
> -----------------------------------------------------------------
>
>                 Key: CXF-3162
>                 URL: https://issues.apache.org/jira/browse/CXF-3162
>             Project: CXF
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 2.2.11
>            Reporter: Mike Youngstrom
>            Assignee: Daniel Kulp
>
> Currently when using spring with imported cxf.xml configuration files it does not appear
to be possible to set the bus id without overriding the default bus bean which can be problematic.
 It would be nice if we could simply set the id on the "core:bus" namespace handler similar
to how this namespace handler currently sets interceptors, properties, etc.
> I need to set the default bus id because I'd like to monitor my cxf mbeans and since
cxf uses the bus id to create the JMX ObjectName this makes my mbean Object names indeterministic
if the default random id is used.  So I would like to be able to change my configuration like
so:
> 	<import resource="classpath:META-INF/cxf/cxf.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
> 	<cxf:bus bus-id="someId"/>
> Which would be the equivalent but less problematic form of:
> 	<import resource="classpath:META-INF/cxf/cxf.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
> 	<bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">
> 		<property name="id" value="someId"/>
> 	</bean>
>  I would be happy to provide a patch if the idea is acceptable.
> Mike

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message