Export dependency for "javax.jms.api" in
org.jboss.genericjms module
--------------------------------------------------------------------
Key: WFLY-4656
URL:
https://issues.jboss.org/browse/WFLY-4656
Project: WildFly
Issue Type: Feature Request
Components: JCA, JMS
Affects Versions: 9.0.0.CR1, 10.0.0.Alpha1
Reporter: Miroslav Novak
Assignee: Jeff Mesnil
Fix For: 10.0.0.Alpha5
More info in WFLY-4642.
If deployment with MDB has dependency to module "org.jboss.genericjms" then
module "javax.jms.api" is not loaded for the deployment and deploy fails.
This is a change in module loading behaviour against previous versions of Wildfly/EAP and
complicates migration/usability.
We can avoid this by exporting "javax.jms.api" dependency in
"org.jboss.genericjms" module. It should look like:
{code}
<module xmlns="urn:jboss:module:1.3"
name="org.jboss.genericjms">
...
<dependencies>
...
<module name="javax.jms.api" slot="main"
export="true"/>
...
</dependencies>
</module>
{code}