If you use SSLParams, and need the default Ruby ciphers, this is how.
NOTE: JRuby users may find that this is a required action. YMMV.
Run example.
# File examples/ssl_ucx_default_ciphers.rb, line 19 def run ssl_opts = Stomp::SSLParams.new(:use_ruby_ciphers => true) # Plus other parameters as needed # # SSL Use Case: Using default Stomp ciphers # hash = { :hosts => [ {:login => 'guest', :passcode => 'guest', :host => 'localhost', :port => 61612, :ssl => ssl_opts}, ] } # puts "Connect starts, SSL , Use Default Ruby Ciphers" c = Stomp::Connection.new(hash) puts "Connect completed" # c.disconnect end
Generated with the Darkfish Rdoc Generator 2.