-
-
Save michaelklishin/3fd54c45bce5cdf9e345 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
(gen-class :name some.package.PublishingSchedulerListener | |
:implements [org.quartz.SchedulerListener] | |
:constructors {[com.rabbitmq.client.Channel String String] []} | |
:init init | |
:state state) | |
(defn -init | |
[^Channel ch ^String exchange ^String routing-key] | |
[[] (ref { :channel ch :exchange exchange :routing-key routing-key })]) | |
(defn -schedulerStarted | |
[this] | |
(println this (.state this))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment