kithara.config
Lyra configuration builders.
behaviour
(behaviour)(behaviour configuration-map)(behaviour base configuration-map)Generates a net.jodah.lyra.config.Config (see Lyra documentation).
| option | |
|---|---|
:channel-listeners |
delegates to withChannelListeners |
:connection-listeners |
delegates to withConnectionListeners |
:consumer-listeners |
delegates to withConsumerListener |
:consumer-recovery? |
delegates to withConsumerRecovery |
:exchange-recovery? |
delegates to withExchangeRecovery |
:queue-recovery? |
delegates to withQueueRecovery |
:recovery-policy |
delegates to withRecoveryPolicy |
:retry-policy |
delegates to withRetryPolicy |
base can be an instance of net.jodah.lyra.config.Config in which case all of the given options will be applied to it.
connection
(connection)(connection configuration-map)(connection base configuration-map)Generates a net.jodah.lyra.ConnectionOptions (see Lyra documentation).
| option | |
|---|---|
:addresses |
delegates to withAddresses |
:executor |
delegates to withConsumerExecutor |
:factory |
delegates to withConnectionFactory |
:heartbeat |
delegates to withRequestedHeartbeat |
:host |
delegates to withHost |
:hosts |
delegates to withHosts |
:name |
delegates to withName |
:password |
delegates to withPassword |
:port |
delegates to withPort |
:properties |
delegates to withClientProperties |
:socket-factory |
delegates to withSocketFactory |
:ssl-context |
delegates to withSslProtocol |
:ssl-protocol |
delegates to withSslProtocol |
:ssl? |
delegates to withSsl |
:timeout |
delegates to withConnectionTimeout |
:username |
delegates to withUsername |
:vhost |
delegates to withVirtualHost |
base can be an instance of net.jodah.lyra.ConnectionOptions in which case all of the given options will be applied to it.
recovery-policy
(recovery-policy)(recovery-policy configuration-map)(recovery-policy base configuration-map)Generates a net.jodah.lyra.config.RecoveryPolicy (see Lyra documentation).
| option | |
|---|---|
:backoff |
delegates to withBackoff |
:interval |
delegates to withInterval |
:max-attempts |
delegates to withMaxAttempts |
:max-duration |
delegates to withMaxDuration |
base can be an instance of net.jodah.lyra.config.RecoveryPolicy in which case all of the given options will be applied to it.
retry-policy
(retry-policy)(retry-policy configuration-map)(retry-policy base configuration-map)Generates a net.jodah.lyra.config.RetryPolicy (see Lyra documentation).
| option | |
|---|---|
:backoff |
delegates to withBackoff |
:interval |
delegates to withInterval |
:max-attempts |
delegates to withMaxAttempts |
:max-duration |
delegates to withMaxDuration |
base can be an instance of net.jodah.lyra.config.RetryPolicy in which case all of the given options will be applied to it.