[jboss-jira] [JBoss JIRA] (WFLY-10090) [Artemis 2.x upgrade] Setting globalThreadPool size on client using system properties is ignored

Jeff Mesnil (JIRA) issues at jboss.org
Mon Mar 26 11:24:01 EDT 2018


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

Jeff Mesnil commented on WFLY-10090:
------------------------------------

[~mnovak] I have debugged the code of the messaging-activemq subsystem that pass the 2 pool size to Artemis and I see that the call to ActiveMQClient.setGlobalThreadPoolProperties uses the expected values at https://github.com/jmesnil/wildfly/blob/WFLY-9407_upgrade_artemis_2.4.0_with_prefix/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/MessagingSubsystemAdd.java#L116

I also noted that the testGlobalPoolsConfiguredBySystemProperty and testGlobalPoolsConfiguredByAttributeInMessagingSubsystem tests passes when they are run separately.

Could there be an issue with the way threads are measured (e.g. and accumulated across tests)?

> [Artemis 2.x upgrade] Setting globalThreadPool size on client using system properties is ignored
> ------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-10090
>                 URL: https://issues.jboss.org/browse/WFLY-10090
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>            Reporter: Miroslav Novak
>            Assignee: Jeff Mesnil
>            Priority: Blocker
>
> Setting client globalThreadPoolSize for configuring max number of ActiveMQ-client-global-threads using system property or in connection factory which is looked up by standalone JMS client is ignored. There is alway 8 * number CPU cores.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list