[jbossws-issues] [JBoss JIRA] (JBWS-4079) Extend web service subsystem to configure cxf.management properties outside endpoint-config
Viral Gohel (JIRA)
issues at jboss.org
Mon Oct 9 10:45:00 EDT 2017
Viral Gohel created JBWS-4079:
---------------------------------
Summary: Extend web service subsystem to configure cxf.management properties outside endpoint-config
Key: JBWS-4079
URL: https://issues.jboss.org/browse/JBWS-4079
Project: JBoss Web Services
Issue Type: Feature Request
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.2.0.Final
Reporter: Viral Gohel
Presently for configuring the cxf.management properties, we can do this using jboss-webservice.xml file, https://docs.jboss.org/author/display/JBWS/Apache+CXF+integration#ApacheCXFintegration-MBeanmanagement as these properties are read at the deployment time.
Since, the cxf.management properties are set at Bus level, we can look to extend those properties to be configured outside the endpoint-config and client-config. We can look to have a central configuration for this in the standalone.xml file as the below:
{code:java}
<subsystem xmlns="urn:jboss:domain:webservices:1.2">
<modify-wsdl-address>true</modify-wsdl-address>
<wsdl-host>jbossws.undefined.host</wsdl-host>
<endpoint-config name="Standard-Endpoint-Config">
<property name="cxf.management.enabled" value="true"/>
<property name="cxf.management.installResponseTimeInterceptors" value="true"/>
<property name="cxf.features" value="org.apache.cxf.management.interceptor.ResponseTimeFeature"/>
</endpoint-config>
<endpoint-config name="Recording-Endpoint-Config">
<pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
<handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
</pre-handler-chain>
</endpoint-config>
<client-config name="Standard-Client-Config">
<property name="cxf.management.enabled" value="true"/>
<property name="cxf.management.installResponseTimeInterceptors" value="true"/>
<property name="cxf.features" value="org.apache.cxf.management.interceptor.ResponseTimeFeature"/>
</client-config>
</subsystem>
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jbossws-issues
mailing list