class Stomp::Error::ProducerFlowControlException
Attributes
dest_name[R]
producer_id[R]
Public Class Methods
new(message)
click to toggle source
Calls superclass method
Stomp::Error::BrokerException.new
# File lib/stomp/errors.rb, line 292 def initialize(message) super(message) msg_headers = /.*producer\s+\((.*)\).*to\s+prevent\s+flooding\s+([^\s]*)\.\s+/i.match(@message) @producer_id = msg_headers && msg_headers[1] @dest_name = msg_headers && msg_headers[2] end