Skip to content

Instantly share code, notes, and snippets.

@michaelklishin
Created July 31, 2014 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelklishin/4146cec261f0fd30cc07 to your computer and use it in GitHub Desktop.
Save michaelklishin/4146cec261f0fd30cc07 to your computer and use it in GitHub Desktop.
(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