Updates README.md

This commit is contained in:
Brusk Awat 2024-08-05 17:42:22 +03:00
parent 3950ff5047
commit 59ad012e04
Signed by: broosk1993
GPG Key ID: 5D20F7E02649F74E

View File

@ -36,6 +36,7 @@ RabbitCarrots.configure do |c|
c.automatically_recover = true
c.network_recovery_interval = 5
c.recovery_attempts = 5
c.orm = :activerecord || :mongoid
c.routing_key_mappings = [
{ routing_keys: ['RK1', 'RK2'], queue: 'QUEUE_NAME', handler: 'CLASS HANDLER IN STRING' },
{ routing_keys: ['RK1', 'RK2'], queue: 'QUEUE_NAME', handler: 'CLASS HANDLER IN STRING' }