[jboss-jira] [JBoss JIRA] (WFLY-5672) Implicitly added resources (no transport, thread pools, etc) should be added by parent add operation instead of the parser
Radoslav Husar (JIRA)
issues at jboss.org
Fri Nov 13 08:46:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Husar updated WFLY-5672:
---------------------------------
Summary: Implicitly added resources (no transport, thread pools, etc) should be added by parent add operation instead of the parser (was: The infinispan parser implicitly adds transport/thread-pools)
> Implicitly added resources (no transport, thread pools, etc) should be added by parent add operation instead of the parser
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-5672
> URL: https://issues.jboss.org/browse/WFLY-5672
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 10.0.0.CR4
> Reporter: James Perkins
> Assignee: Paul Ferraro
>
> It looks like in the [infinispan subsystem parser|https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/InfinispanSubsystemXMLReader.java#L173-L178] some thread pools are explicitly added. This means these resources are not added if adding the subsystem via the {{add}} operation. These resources should be added like any other child resource of the subsystem.
> If the resources can't be added like that, e.g. they are truly defaults, the add handler for the parent can add a step to check for children and add any missing ones. This would result in the same behavior, but allow the {{add}} operation to work correctly.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list