/StompClient

Simple Stomp Client to send data to ActiveMQ

Primary LanguageGoApache License 2.0Apache-2.0

StompClient

Simple Stomp Client to send data to ActiveMQ. Build on top of stompngo

Requirements:

Usage

conn := StompClient.StompClient{}
conn.Connect()
conn.SendEvent(`{"foo": "bar"}`, "Hello")

Default Stomp conf can be overwritten setting environment variables like:

  • STOMP_HOST
  • STOMP_PORT
  • STOMP_DEST