Giter Site home page Giter Site logo

hornetq-rest-stress's Introduction

hornetq-rest-stress

The world's most rudimentary stress-test application for the HornetQ-REST interface.

Building

The project is built using Gradle.

gradle jar

Gradle also supports building the Eclipse .project metadata, if you prefer.

gradle eclipse

You can also produce a large hornetstress.jar file that contains all dependencies exploded along with the HornetHive classes like so:

gradle stressjar

Running

The project has two dependencies. Make sure they are on your classpath, and run the HornetHive class.

The program requires one argument - the URL to the starting point from which you can create an auto-ack subscription: java -cp ... -jar hornetq-rest-stress.jar http://localhost:8080/hornet-msg/topics/jms.topic.mycompany.mytopic/

You can optionally specify a second argument - an integer which is the number of consumer threads you would like to spawn. The default is 100.

You may also use the convenient hornetstress.jar file that contains everything you require:

java -verbose -jar ./build/libs/hornetstress.jar http://<hostname>:8080/hornet-msg/topics/jms.topic.<topic name>/ 100

hornetq-rest-stress's People

Contributors

jdricklefs avatar

Watchers

Stephen Agneta 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.