Open choilive opened 5 years ago
No reason that cannot be done I suppose.
Do you want to make the change and give me a PR?
Actually the gem has never supported SSL really well except when using hashed login parameters.
I do not think this will work very well ..........
I'll try to implement it and if it works out will submit a PR.
@choilive - any progress or thoughts on this?
It appears using a "stomp+ssl://..." URL string is unsupported. It falls through to the default case. (Attempts to connect to localhost:61613) however it appears +ssl is supported when specifying URL strings for a failover.
Any reason why we couldnt use the same regex that parses the failover host urls for the regular url parsing?
https://github.com/stompgem/stomp/blob/2c8976a5e3c8917003e38a79a943c98fde9e3b0e/lib/client/utils.rb#L24
https://github.com/stompgem/stomp/blob/2c8976a5e3c8917003e38a79a943c98fde9e3b0e/lib/client/utils.rb#L92