examples/logexamp.rb in stomp-1.4.8 vs examples/logexamp.rb in stomp-1.4.9
- old
+ new
@@ -38,9 +38,12 @@
port = ENV['STOMP_PORT'] ? ENV['STOMP_PORT'].to_i : 61613
so = usessl()
# //////////////////////////////////////////////////////////////////////////////
# A hash type connect *MUST* be used to enable callback logging.
# //////////////////////////////////////////////////////////////////////////////
+ # Note: running this example will generate a number of connect failures,
+ # because of the fake host in this connect hash.
+ # //////////////////////////////////////////////////////////////////////////////
hash = { :hosts => [
{:login => user, :passcode => password, :host => 'noonehome', :port => 2525,
:ssl => so},
{:login => user, :passcode => password, :host => host, :port => port,
:ssl => so},