Sha256: d1442ccf60e31c8e749f4984818f8cba2f6ace2f1b56e914f7206f89fefb4fbf

Contents?: true

Size: 341 Bytes

Versions: 123

Compression:

Stored size: 341 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8

require "bundler"
Bundler.setup

$:.unshift(File.expand_path("../../../lib", __FILE__))

require 'bunny'

begin
  conn = Bunny.new("amqp://guest8we78w7e8:guest2378278@127.0.0.1")
  conn.start
rescue Bunny::PossibleAuthenticationFailureError => e
  puts "Could not authenticate as #{conn.username}"
end

Version data entries

123 entries across 123 versions & 1 rubygems

Version Path
bunny-2.17.0 examples/connection/authentication_failure.rb
bunny-2.16.1 examples/connection/authentication_failure.rb
bunny-2.15.0 examples/connection/authentication_failure.rb
bunny-2.14.4 examples/connection/authentication_failure.rb
bunny-2.14.3 examples/connection/authentication_failure.rb
bunny-2.14.2 examples/connection/authentication_failure.rb
bunny-2.14.1 examples/connection/authentication_failure.rb
bunny-2.13.0 examples/connection/authentication_failure.rb
bunny-2.12.1 examples/connection/authentication_failure.rb
bunny-2.12.0 examples/connection/authentication_failure.rb
bunny-2.12.0.rc1 examples/connection/authentication_failure.rb
bunny-2.11.0 examples/connection/authentication_failure.rb
bunny-2.11.0.pre1 examples/connection/authentication_failure.rb
bunny-2.10.0 examples/connection/authentication_failure.rb
bunny-2.9.2 examples/connection/authentication_failure.rb
bunny-2.9.1 examples/connection/authentication_failure.rb
bunny-2.6.7 examples/connection/authentication_failure.rb
bunny-2.7.4 examples/connection/authentication_failure.rb
bunny-2.8.1 examples/connection/authentication_failure.rb
bunny-2.9.0 examples/connection/authentication_failure.rb