Skip to content

Instantly share code, notes, and snippets.

@lispnik

lispnik/gist:5658993

Created May 27, 2013
Embed
What would you like to do?
standalone.xml:
...
<jms-destinations>
<jms-queue name="queue/test">
<entry name="java:/queue/test"/>
<durable>true</durable>
</jms-queue>
</jms-destinations>
</hornetq-server>
(app1) immutant.init.clj:
(immutant.messaging/publish "queue/test" "test!") => #<HornetQTextMessage HornetQMessage[ID:c91ced8e-c70b-11e2-bab3-13561a84739e]:PERSISTENT>
(app2 same vm) immutant.init.clj:
(immutant.messaging/listen "queue/test" #'println) => IllegalStateException queue/test is not available org.immutant.messaging.MessageProcessorGroupizer.createGroup (MessageProcessorGroupizer.java:61)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment