Skip to content

Files

Latest commit

 

History

History

stomp-examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Vert.x STOMP examples

Here you will find examples demonstrating the Vert.x STOMP module.

Client

This example demonstrate messaging between a client sender, client receiver, and a server. They can be used in conjunction with each other to send and receive messages.

The Receiver consumes incoming messages from a queue and prints their content. The Sender example sends a message to that queue every 3 seconds.

Start an ActiveMQ Artemis server:

docker run -p 61613:61613 -p 8161:8161 apache/activemq-artemis:latest-alpine

Then start the Sender and Receiver: