I am new to HornetQ so hopefully this is an easy question. I have a topic producer running in JBoss - that was easy. I need the topic consumer to run in a Tomcat servlet - this is not so easy. Are there any examples to point me in the right direction?
I'm not sure about tomcat specifics but be very careful you don't end up creating a new consumer each time the servlet is invoked - this would be a serious anti-pattern and very slow.
There's a wiki page about caching connections/sessions, if that's any help.