publish

command
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Publish messages to a STOMP broker.

Examples:

	# Publish to a broker with all defaults:
	# Host is "localhost"
	# Port is 61613
	# Login is "guest"
	# Passcode is "guest
	# Virtual Host is "localhost"
	# Protocol is 1.1
	go run publish.go

	# Publish to a broker using STOMP protocol level 1.0:
	STOMP_PROTOCOL=1.0 go run publish.go

	# Publish to a broker using a custom host and port:
	STOMP_HOST=tjjackson STOMP_PORT=62613 go run publish.go

	# Publish to a broker using a custom port and virtual host:
	STOMP_PORT=41613 STOMP_VHOST="/" go run publish.go

	# Publish to a broker using a custom login and passcode:
	STOMP_LOGIN="userid" STOMP_PASSCODE="t0ps3cr3t" go run publish.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL