Skip to content

activeMQ client for go based on github.com/go-stomp/stomp

License

Notifications You must be signed in to change notification settings

encrylife/go-activeMQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

go-activeMQ

activeMQ client for go based on github.com/go-stomp/stomp

usage:

//Send
if err := utils.NewActiveMQ("localhost:61613").Send("/queue/test-1", "test from 1"); err != nil {
    fmt.Println("AMQ ERROR:", err)

//this func will handle the messges get from activeMQ server.
handler := func(err error, msg string) { fmt.Println("AMQ MSG:", err, msg) }
if err := utils.NewActiveMQ("localhost:61613").Subscribe("/queue/test-1", handler); err != nil {
    fmt.Println("AMQ ERROR:", err)
}

Contact Me:

Email:[email protected] QQ: 27234819

About

activeMQ client for go based on github.com/go-stomp/stomp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%