/lb-stomp

Primary LanguageGoMIT LicenseMIT

lb-stomp

Build Status Go Report Card GoDoc

Load-balanced Stomp (lb-stomp) package provides load-balanced interface to Stomp AMQ brokers.

Built and test code:

go build
go test

Example how to use it

import stomp "github.com/vkuznet/lb-stomp"

// create new manager
config := stomp.Config{StompURI: "abc:123", StompLogin: "test", StompPassword: "test"}
mgr := stomp.New(config)
data := `{"test": 1}`
err := stomp.Send([]byte(data))