The ability to use SSL connections was added to the gem in version 1.1.3, and has essentially remained unchanged since that time.
SSL connections may be requested by either:
A request for an SSL connection is indicated by either:
hash = { :hosts => [ {:login => 'guest', :passcode => 'guest', :host => 'tjjackson', :port => 62614, :ssl => true}, ] } c = Stomp::Connection.new(hash)
url = "failover://(stomp+ssl://login1:passcode1@localhost:61616,stomp+ssl://login2:passcode2@remotehost:61617)" c = Stomp::Client.new(url)
When this style of SSL connection is requested, the following occurs:
This behavior will not change as a result of the enhancements being added.
Note that this methodology implements Use Case 1, as described in: SSL Use Cases.
There was an error while loading. Please reload this page.