Coder Social home page Coder Social logo

server-test-artemis's Introduction

xserver-test-artemis

Testing the starting and stopping of an embedded artemis server using the xserver-maven-plugin within a maven test cycle

Usage

Checkout the project and run mvn verify.

mvn verify

Ingredients

  1. The embedded artemis server from [embedded-artemis][https://github.com/gogit/embedded-artemis]
  2. The broker xml config for the artemis server from test/resources (this project)
  3. The xserver-maven-plugin from [xserver-maven-plugin][https://github.com/gogit/xserver-maven-plugin]

Steps

The xserver-maven-plugin uses the broker.xml from test/resources

  1. The xserver-maven-plugin starts an embedded artemis server
  2. The test case (in this project) is then run
  3. The xserver-maven-plugin stops the embedded artemis server

Tips

See the pom.xml file for details

Trace

Oct 01, 2016 5:07:48 PM org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation run
INFO: AMQ221007: Server is now live
Oct 01, 2016 5:07:48 PM org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl start
INFO: AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.3.0 [localhost, nodeID=9f568676-87ef-11e6-8085-0800278178c4] 
Starting message test
Sending message: Hello sent at Sat Oct 01 17:07:50 BST 2016
Received message:Hello sent at Sat Oct 01 17:07:50 BST 2016
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.17 sec - in uk.co.thinktag.embedded.EmbeddedServerTest

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

server-test-artemis's People

Contributors

gogit avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.