Is there a way to deploy JMS configuration to wildfly-arquillian-container-embedded environment (that is JUnit tests in maven based app)? Or should I ask, how to deploy custom configuration file (or at least standalone-full.xml) for maven tests?
What i'm trying to achieve
- Run unit tests on a j2ee application which relies on JMS topic
- Would be nice to have wildfly in embbedded configuration, that would allow to run tests out of the box w/o need of wild fly installation
pom.xml is like:
<dependencies>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-arquillian-container-embedded</artifactId>
<version>8.2.0.Final</version>
</dependency>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-embedded</artifactId>
<version>8.2.0.Final</version>
</dependency>
</dependencies>
arqullian.xml is empty now
What i've already tried to: is to deploy something like wildfly-jms.xml in test.jar, that .xml contained jms subsystem configiration. But that did not work (i guess it could have worked if standalone-full.xml was used as configuration). Generally test on entities and session beans succeed, but not on those which depend on jms topic.