[jboss-jira] [JBoss JIRA] (WFLY-5672) The infinispan parser implicitly adds transport/thread-pools

Radoslav Husar (JIRA) issues at jboss.org
Thu Nov 12 19:55:00 EST 2015


    [ https://issues.jboss.org/browse/WFLY-5672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128585#comment-13128585 ] 

Radoslav Husar edited comment on WFLY-5672 at 11/12/15 7:54 PM:
----------------------------------------------------------------

So the idea is that implicitly added resources should be added by the parent resource :add p[ instead of the parser, but the implications need to be considered.


was (Author: rhusar):
So the idea is that implicitly added resources should be added by the parent resource instead of the parser, but the implications need to be considered.

> The infinispan parser implicitly adds transport/thread-pools
> ------------------------------------------------------------
>
>                 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