Exception: AceMQ::AMQP::Patterns::ReplayFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/acemq/amqp/patterns/replay.rb

Overview

A replay that stopped part-way. result is what it had done first, because a tool that says only "it failed" leaves somebody to work out by hand how much of a queue has already moved.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, result) ⇒ ReplayFailed

Returns a new instance of ReplayFailed.



41
42
43
44
# File 'lib/acemq/amqp/patterns/replay.rb', line 41

def initialize(message, result)
  super(message)
  @result = result
end

Instance Attribute Details

#result ⇒ Object (readonly)

Returns the value of attribute result.



39
40
41
# File 'lib/acemq/amqp/patterns/replay.rb', line 39

def result
  @result
end