class
TJLavin::Configuration
- TJLavin::Configuration
- Reference
- Object
Defined in:
tj_lavin/configuration.crInstance Method Summary
- #amqp_url : String | Nil
- #amqp_url=(amqp_url : String | Nil)
- #default_exchange : String
- #default_exchange=(default_exchange : String)
- #delayed_exchange : String
- #delayed_exchange=(delayed_exchange : String)
-
#heartbeat : Int32
Seconds between AMQP heartbeats.
-
#heartbeat=(heartbeat : Int32)
Seconds between AMQP heartbeats.
-
#reconnect_backoff : Time::Span
Initial wait between reconnect attempts.
-
#reconnect_backoff=(reconnect_backoff : Time::Span)
Initial wait between reconnect attempts.
- #reconnect_backoff_max : Time::Span
- #reconnect_backoff_max=(reconnect_backoff_max : Time::Span)
- #routing_key : String
- #routing_key=(routing_key : String)
- #validate
- #validated=(validated : Bool)
- #validated? : Bool
Instance Method Detail
Seconds between AMQP heartbeats. The server pings the client at this interval; if two intervals pass with no traffic, the underlying TCP socket is closed. This is what catches half-open connections after a broker upgrade or network drop. Set to 0 to disable.
Seconds between AMQP heartbeats. The server pings the client at this interval; if two intervals pass with no traffic, the underlying TCP socket is closed. This is what catches half-open connections after a broker upgrade or network drop. Set to 0 to disable.
Initial wait between reconnect attempts. Doubles up to #reconnect_backoff_max.
Initial wait between reconnect attempts. Doubles up to #reconnect_backoff_max.