Skip to content

Commit

Permalink
Use http://rubybunny.info as primary information source
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Klishin committed Jan 19, 2013
1 parent 6843673 commit 63d4802
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions lib/bunny/session.rb
Expand Up @@ -15,21 +15,27 @@
require "amq/settings" require "amq/settings"


module Bunny module Bunny
# Represents AMQP 0.9.1 connection (connection to RabbitMQ).
class Session class Session


# Default host used for connection
DEFAULT_HOST = "127.0.0.1" DEFAULT_HOST = "127.0.0.1"
# Default virtual host used for connection
DEFAULT_VHOST = "/" DEFAULT_VHOST = "/"
# Default username used for connection
DEFAULT_USER = "guest" DEFAULT_USER = "guest"
# Default password used for connection
DEFAULT_PASSWORD = "guest" DEFAULT_PASSWORD = "guest"
# the same value as RabbitMQ 3.0 uses. MK. # Default heartbeat interval, the same value as RabbitMQ 3.0 uses.
DEFAULT_HEARTBEAT = 600 DEFAULT_HEARTBEAT = 600
# 128K # @private
DEFAULT_FRAME_MAX = 131072 DEFAULT_FRAME_MAX = 131072


# backwards compatibility # backwards compatibility
# @private
CONNECT_TIMEOUT = Transport::DEFAULT_CONNECTION_TIMEOUT CONNECT_TIMEOUT = Transport::DEFAULT_CONNECTION_TIMEOUT



# RabbitMQ client metadata
DEFAULT_CLIENT_PROPERTIES = { DEFAULT_CLIENT_PROPERTIES = {
:capabilities => { :capabilities => {
:publisher_confirms => true, :publisher_confirms => true,
Expand All @@ -40,7 +46,7 @@ class Session
:product => "Bunny", :product => "Bunny",
:platform => ::RUBY_DESCRIPTION, :platform => ::RUBY_DESCRIPTION,
:version => Bunny::VERSION, :version => Bunny::VERSION,
:information => "http://github.com/ruby-amqp/bunny", :information => "http://rubybunny.info",
} }


DEFAULT_LOCALE = "en_GB" DEFAULT_LOCALE = "en_GB"
Expand Down

0 comments on commit 63d4802

Please sign in to comment.