8000 GitHub - donghl/ActiveMqExample · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Overview

This is an example of how use the Java JMS api with ActiveMQ.

Prereqs

  • Install Java SDK
  • Install Maven

Building

Run:

mvn install

Running the Examples

In one terminal window run:

java -cp target/stomp-example-0.1-SNAPSHOT.jar example.Listener

In another terminal window run:

java -cp target/stomp-example-0.1-SNAPSHOT.jar example.Publisher

You can control to which stomp server the examples try to connect to by setting the following environment variables:

  • ACTIVEMQ_HOST
  • ACTIVEMQ_PORT
  • ACTIVEMQ_USER
  • ACTIVEMQ_PASSWORD

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0