Package org.acemq.rabbitmq.admin
Class ShovelInfo
java.lang.Object
org.acemq.rabbitmq.admin.ShovelInfo
A shovel: the broker moving messages from one place to another, on its own.
A shovel consumes from a source and republishes to a destination, and either end may be on
a different broker. It is how a migration moves a live queue between clusters without the
publishers or consumers knowing, which is what acemq-infrastructure is being built
around.
A shovel is not a copy. It consumes, so a message it moves is gone from the source. Pointing one at a queue somebody is still reading produces two consumers racing, and the shovel usually wins.
state() is the field to watch. A shovel that cannot reach its destination sits in
starting indefinitely, retrying, moving nothing and reporting no error anywhere else.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ShovelInfo
-
-
Method Details