The Integration Tests validate that ActiveMQ Resource Adapter operate correctly when deployed with a J2EE application running in an Application Server such as Apache Geronimo. Getting ReadyThe instructions on this page reference a few directories that you will need to substitute appropriate values for:
Building the ActiveMQ Resource AdapterThe ActiveMQ Resource Adapter allows a J2EE Application Server to provide transaction management, connection pooling and security to ActiveMQ connection when used by EJBs. The Resource Adapter is deployed in the client EAR that will be using the ActiveMQ. cd activemq-ra maven rar:install-snapshot
Building the Integration Test EJB moduleThe Integration Test EJB module provides a set of EJBs that the tests are run against. cd systest/itests/ejb maven
Building and Deploying the Integration Test EAR moduleThe EAR module packages up the Resource Adapter and the Integration Tests EJBs into a deployable EAR. cd systest/itests/ear maven -Dgeronimo.home=geronimo-home
Starting Geronimo with the Integration Test EAR configuration.In a seperate console, issue the following commands cd geronimo-home java -jar bin/server.jar org/activemq/ear/itest
Building and running the Integration Tests.The following builds and runs the integration tests: cd systest/itests/client maven
|