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.1.0.pre1 examples/connection/authentication_failure.rb
bunny-1.0.4 examples/connection/authentication_failure.rb
bunny-1.0.3 examples/connection/authentication_failure.rb
bunny-1.0.2 examples/connection/authentication_failure.rb
bunny-1.0.1 examples/connection/authentication_failure.rb
bunny-1.0.0 examples/connection/authentication_failure.rb
bunny-1.0.0.rc3 examples/connection/authentication_failure.rb
bunny-1.0.0.rc2 examples/connection/authentication_failure.rb
bunny-0.10.8 examples/connection/authentication_failure.rb
bunny-1.0.0.rc1 examples/connection/authentication_failure.rb
bunny-0.10.7 examples/connection/authentication_failure.rb
bunny-0.10.6 examples/connection/authentication_failure.rb
bunny-1.0.0.pre6 examples/connection/authentication_failure.rb
bunny-0.10.5 examples/connection/authentication_failure.rb
bunny-1.0.0.pre5 examples/connection/authentication_failure.rb
bunny-0.10.4 examples/connection/authentication_failure.rb
bunny-0.10.3 examples/connection/authentication_failure.rb
bunny-1.0.0.pre4 examples/connection/authentication_failure.rb
bunny-0.10.2 examples/connection/authentication_failure.rb
bunny-0.10.1 examples/connection/authentication_failure.rb