enum

LavinMQ::AMQP::Exchange::PublishResult

Inherits Enum < Comparable < Value < Object

Result of routing a message through an exchange. Routed is set if at least one queue accepted the message. Rejected is set if at least one matched queue didn't store the message: due to a reject-publish overflow policy, or because it was closed, e.g. on shutdown. The two flags are independent: a publish can be both routed (one queue accepted) and rejected (another didn't), in which case the publisher should still be nack'ed on confirm channels.

Constants

Routed = 1
Rejected = 2
None = 0
All = 3

Instance methods

none?
Source
rejected?

Returns true if this enum value contains Rejected

Source
routed?

Returns true if this enum value contains Routed

Source