class TJLavin::Configuration

Defined in:

tj_lavin/configuration.cr

Instance Method Summary

Instance Method Detail

def amqp_url : String | Nil #

[View source]
def amqp_url=(amqp_url : String | Nil) #

[View source]
def default_exchange : String #

[View source]
def default_exchange=(default_exchange : String) #

[View source]
def delayed_exchange : String #

[View source]
def delayed_exchange=(delayed_exchange : String) #

[View source]
def heartbeat : Int32 #

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.


[View source]
def heartbeat=(heartbeat : Int32) #

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.


[View source]
def reconnect_backoff : Time::Span #

Initial wait between reconnect attempts. Doubles up to #reconnect_backoff_max.


[View source]
def reconnect_backoff=(reconnect_backoff : Time::Span) #

Initial wait between reconnect attempts. Doubles up to #reconnect_backoff_max.


[View source]
def reconnect_backoff_max : Time::Span #

[View source]
def reconnect_backoff_max=(reconnect_backoff_max : Time::Span) #

[View source]
def routing_key : String #

[View source]
def routing_key=(routing_key : String) #

[View source]
def validate #

[View source]
def validated=(validated : Bool) #

[View source]
def validated? : Bool #

[View source]