hello
Guys, how to build a war file from a project that uses messaging?
@a.espolov: is this for deployment to WildFly or EAP? If so, you use the lein-immutant plugin: http://immutant.org/documentation/2.1.4/apidoc/guide-wildfly.html
@tcrawley: project build stops on the last paragraph
@a.espolov: it looks like something in w.c.p.core is causing HornetQ to start as a compilation side-effect, which is probably a bad idea
are you doing something like (def x (immutant.messaging/queue "foo"))
? If so, that would cause HornetQ to start at compile time instead of run time
I'm trying this namespace to initialize the listener for the queue
I would move that to a function that you call from your :init
function if possible
yes (def x (immutant.messaging/queue "foo"))` this is my example
I would make that either a defn
or a (def (delay (m/queue...
to avoid the issue
What is the delay time must be?
there's no timer on a delay, you just have to deref it every time you use it (def x (delay (m/queue "foo")))
, then @x
every time you want to use foo
@tcrawley: thanks!)