[
http://jira.jboss.com/jira/browse/JBWS-1956?page=comments#action_12395392 ]
Thomas Diesler commented on JBWS-1956:
--------------------------------------
Since the Record Processor is scoped on the Endpoint, the
EndpointRecordProcessorDeploymentAspect should probably call a list of factory beans (that
got injected by configuration).
Parametrize Records Management
------------------------------
Key: JBWS-1956
URL:
http://jira.jboss.com/jira/browse/JBWS-1956
Project: JBoss Web Services
Issue Type: Task
Security Level: Public(Everyone can see)
Components: productivity
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
Fix For: jbossws-3.0.0
Currently the recorders are hard coded in the frameworks deployment aspect
public void create(Deployment dep)
{
for (Endpoint ep : dep.getService().getEndpoints())
{
/** Memory buffer recorder **/
MemoryBufferRecorder memoryRecorder = new MemoryBufferRecorder();
memoryRecorder.setName("MemoryBufferRecorder");
this.registerRecordProcessor(memoryRecorder, ep);
/** Log recorder **/
LogRecorder logRecorder = new LogRecorder();
logRecorder.setName("LogRecorder");
this.registerRecordProcessor(logRecorder, ep);
List<RecordProcessor> recordProcessorList = new
LinkedList<RecordProcessor>();
recordProcessorList.add(memoryRecorder);
recordProcessorList.add(logRecorder);
ep.setRecordProcessors(recordProcessorList);
}
}
This should be paramertized here
<bean name="WSNativeEndpointRecordProcessorDeploymentAspect"
class="org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect">
<property name="mbeanServer"><inject
bean="WSMBeanServerLocator"
property="mbeanServer"/></property>
<property name="requires">RegisteredEndpoint</property>
<property name="provides">EndpointRecordProcessors</property>
</bean>
and documented accordingly.
Reading the documentation it was not clear to me how I would enable this feature.
Then I figured that I need to go to a deployed endpoint and manually enable recording for
a specific endpoint.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira