enum

LavinMQ::AMQP::ChannelReplyCode

Inherits Enum < Comparable < Value < Object

Constants

CONTENT_TOO_LARGE = 311_u16
NO_CONSUMERS = 313_u16
ACCESS_REFUSED = 403_u16
NOT_FOUND = 404_u16
RESOURCE_LOCKED = 405_u16
PRECONDITION_FAILED = 406_u16
NOT_IMPLEMENTED = 540_u16

540 is marked as connection level reply-code at but also mentioned in text "MUST raise a channel exception with reply code 540 (not implemented)" indicating it's ok to use as channel close reply code as well

UNEXPECTED_FRAME = 505_u16

TODO: Is this reply code ok to use on channel close? Does not look like that from the spec

RESOURCE_ERROR = 506_u16

Instance methods

access_refused?

Returns true if this enum value equals ACCESS_REFUSED

Source
content_too_large?

Returns true if this enum value equals CONTENT_TOO_LARGE

Source
no_consumers?

Returns true if this enum value equals NO_CONSUMERS

Source
not_found?

Returns true if this enum value equals NOT_FOUND

Source
not_implemented?

Returns true if this enum value equals NOT_IMPLEMENTED

Source
precondition_failed?

Returns true if this enum value equals PRECONDITION_FAILED

Source
resource_error?

Returns true if this enum value equals RESOURCE_ERROR

Source
resource_locked?

Returns true if this enum value equals RESOURCE_LOCKED

Source
unexpected_frame?

Returns true if this enum value equals UNEXPECTED_FRAME

Source