class

LavinMQ::Shovel::MultiDestination

Inherits LavinMQ::Shovel::Destination < Reference < Object

A shovel's list of dest-uris, used one at a time: every start draws one at random and all deliveries of that run go to it. There is no failover. The chosen destination reports its outcomes straight to the Runner, so an Abort counts towards the shovel's abort threshold as it would with a single destination. If the chosen destination cannot start, start raises and the Runner reconnects with backoff; that next start draws again, as does every start after a pause or a reconnect.

Constructors

new(destinations : Array(Destination))
Source

Instance methods

push(msg) : Nil
Source
start
Source
started?
Source
stop
Source