[jboss-jira] [JBoss JIRA] (WFLY-11474) Make activemq dependency on cli module optional

Jean-Francois Denise (Jira) issues at jboss.org
Tue Dec 4 08:04:02 EST 2018


     [ https://issues.jboss.org/browse/WFLY-11474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Francois Denise updated WFLY-11474:
----------------------------------------
    Description: 
Dependency on org.jboss.as.cli from org.wildfly.extension.messaging-activemq should be made optional.

At runtime, the commands are not loaded on the server side. They are loaded thanks to ServiceLoader from CLI, so if CLI is present, the commands are in use, otherwise they are un-used. 

We would observe a gain of 2.3+MB in filesystem footprint when a server without CLI is provisioned.

  was:
Dependency on org.jboss.as.cli from org.wildfly.extension.messaging-activemq should be made optional.

At runtime, the commands are not loaded on the server side. They are loaded thanks to ServiceLoader from CLI, so if CLI is present, the commands are in use, otherwise they are un-used. 

We should be able to completely remove the dependency. CLI module shouldn't be loaded at runtime.

We would observe a gain of 2.3+MB in filesystem footprint when a server without CLI is provisioned.



> Make activemq dependency on cli module optional
> -----------------------------------------------
>
>                 Key: WFLY-11474
>                 URL: https://issues.jboss.org/browse/WFLY-11474
>             Project: WildFly
>          Issue Type: Task
>          Components: JMS
>            Reporter: Jean-Francois Denise
>            Assignee: Jeff Mesnil
>            Priority: Major
>
> Dependency on org.jboss.as.cli from org.wildfly.extension.messaging-activemq should be made optional.
> At runtime, the commands are not loaded on the server side. They are loaded thanks to ServiceLoader from CLI, so if CLI is present, the commands are in use, otherwise they are un-used. 
> We would observe a gain of 2.3+MB in filesystem footprint when a server without CLI is provisioned.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list