Copyright © 2015-2018 Guy M. Allard
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Show receiving a RECIPT, requested from a SEND.
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 onsend.go # Publish to a broker using a custom host and port: STOMP_HOST=tjjackson STOMP_PORT=62613 go run onsend.go # Publish to a broker using a custom port and virtual host: STOMP_PORT=41613 STOMP_VHOST="/" go run onsend.go # Publish to a broker using a custom login and passcode: STOMP_LOGIN="userid" STOMP_PASSCODE="t0ps3cr3t" go run onsend.go