Skip to content
 
 

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stomp4J

Stomp client for Java.

Implemented Versions

This library can support all Stomp versions, but it was not test in others than 1.2

Possible Clients

  • UK Network Rail
    try (var client = new StompClient("ws://publicdatafeeds.networkrail.co.uk:61618", 
                                      new UserCredential(System.getenv("USERNAME"), System.getenv("PASSWORD")))) {
         client.connect();
         client.subscribe("/topic/TRAIN_MVT_ALL_TOC", data -> {
             // consume train data
         });
         client.join();
         client.unsubscribe("/topic/TRAIN_MVT_ALL_TOC");
    }

Features

  1. Topic/Queue subscription
  2. Topic/Queue unsubscription
  3. Send messages

About

Biblioteca Java para o protocolo Stomp. Suporta conexões TCP e Web Scoket

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages