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-1.7.1 examples/connection/authentication_failure.rb
bunny-2.1.0 examples/connection/authentication_failure.rb
bunny-2.0.1 examples/connection/authentication_failure.rb
bunny-2.0.0 examples/connection/authentication_failure.rb
bunny-2.0.0.rc2 examples/connection/authentication_failure.rb
bunny-2.0.0.rc1 examples/connection/authentication_failure.rb
bunny-1.7.0 examples/connection/authentication_failure.rb
bunny-1.6.3 examples/connection/authentication_failure.rb
bunny-1.6.2 examples/connection/authentication_failure.rb
bunny-1.6.1 examples/connection/authentication_failure.rb
bunny-1.6.0 examples/connection/authentication_failure.rb
bunny-1.5.1 examples/connection/authentication_failure.rb
bunny-1.6.0.rc2 examples/connection/authentication_failure.rb
bunny-1.6.0.rc1 examples/connection/authentication_failure.rb
bunny-1.6.0.pre1 examples/connection/authentication_failure.rb
bunny-1.5.0 examples/connection/authentication_failure.rb
bunny-1.5.0.pre2 examples/connection/authentication_failure.rb
bunny-1.5.0.pre1 examples/connection/authentication_failure.rb
bunny-1.4.1 examples/connection/authentication_failure.rb
bunny-1.4.0 examples/connection/authentication_failure.rb