Skip to content

Instantly share code, notes, and snippets.

View gmallard's full-sized avatar

Guy M. Allard gmallard

View GitHub Profile
@gmallard
gmallard / mtsuback.rb
Created July 22, 2019 11:35
Client Program for Testing / Recreating Issue #142
# -*- encoding: utf-8 -*-
#
require 'stomp'
if ENV['STOMP_NOSSL']
use_ssl = false
$stderr.write "#{Time.now()} use_ssl=false\n"
else
urc = ENV['STOMP_RUBYCIPHERS'] ? true : false
@gmallard
gmallard / client_putget.rb
Created September 28, 2020 16:40
client put / get
# -*- encoding: utf-8 -*-
#
# The current require dance for different Ruby versions.
# Change this to suit your requirements.
#
if Kernel.respond_to?(:require_relative)
require_relative("./stomp_common")
else
$LOAD_PATH << File.dirname(__FILE__)