Methods

Class/Module Index [+]

Quicksearch

Stomp::Error::ProducerFlowControlException

Attributes

dest_name[R]
producer_id[R]

Public Class Methods

new(message) click to toggle source
# File lib/stomp/errors.rb, line 256
def initialize(message)
  super(message)
  msg_headers = /.*producer\s+\((.*)\).*to\s+prevent\s+flooding\s+([^\s]*)\.\s+/.match(@message)

  @producer_id = msg_headers && msg_headers[1]
  @dest_name   = msg_headers && msg_headers[2]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.