Exception: Stomp::Error::ReadReceiptTimeoutException

Inherits:
StompException
  • Object
show all
Defined in:
lib/stomp/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(timeout) ⇒ ReadReceiptTimeoutException

Returns a new instance of ReadReceiptTimeoutException



283
284
285
# File 'lib/stomp/errors.rb', line 283

def initialize(timeout)
  @timeout = timeout
end

Instance Method Details

#messageObject



287
288
289
# File 'lib/stomp/errors.rb', line 287

def message
  "Read receipt not received after #{@timeout} seconds"
end