Class for Stomp 1.1.9 callback based logging
# File plugins/mcollective/connector/activemq.rb, line 100 def on_connected(params=nil) Log.info("Conncted to #{stomp_url(params)}") rescue end
# File plugins/mcollective/connector/activemq.rb, line 110 def on_connectfail(params=nil) Log.info("TCP Connection to #{stomp_url(params)} failed on attempt #{params[:cur_conattempts]}") rescue end
# File plugins/mcollective/connector/activemq.rb, line 95 def on_connecting(params=nil) Log.info("TCP Connection attempt %d to %s" % [params[:cur_conattempts], stomp_url(params)]) rescue end
# File plugins/mcollective/connector/activemq.rb, line 105 def on_disconnect(params=nil) Log.info("Disconnected from #{stomp_url(params)}") rescue end
# File plugins/mcollective/connector/activemq.rb, line 115 def on_miscerr(params, errstr) Log.error("Unexpected error on connection #{stomp_url(params)}: #{errstr}") rescue end
# File plugins/mcollective/connector/activemq.rb, line 125 def on_ssl_connected(params) Log.info("SSL session established with #{stomp_url(params)}") rescue end
# File plugins/mcollective/connector/activemq.rb, line 130 def on_ssl_connectfail(params) Log.error("SSL session creation with #{stomp_url(params)} failed: #{params[:ssl_exception]}") end
Generated with the Darkfish Rdoc Generator 2.