-
-
Save michaelklishin/4146cec261f0fd30cc07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [cf (doto (ConnectionFactory.) | |
(.useSslProtocol))] | |
(.newConnection cf)) | |
;; equivalent to | |
;; ConnectionFactory cf = new ConnectionFactory(); | |
;; cf.useSslProtocol(); | |
;; cf.newConnection(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment