Class: OMQ::QoS::NackInfo

Inherits:
Data
  • Object
show all
Defined in:
lib/omq/qos/error_codes.rb

Overview

Decoded NACK payload. Attached to DeadLetter#error at QoS 3 when the failure is terminal or retries are exhausted.

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



100
101
102
# File 'lib/omq/qos/error_codes.rb', line 100

def code
  @code
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



100
101
102
# File 'lib/omq/qos/error_codes.rb', line 100

def message
  @message
end