-
1. Re: Singleton accessing JMS Message Queue Died, How to detect and restart
mayerw01 Dec 15, 2015 4:22 AM (in response to smeverts)The HornetQ - Documentation - JBoss Community might contain helpful hints to help solving your problem.
Did you check if this problem persists when using activemq (Apache ActiveMQ ™ -- Index) instead?
-
2. Re: Singleton accessing JMS Message Queue Died, How to detect and restart
smeverts Dec 15, 2015 7:25 AM (in response to mayerw01)Thanks for the reference material, I have been wading through the docs in search of parameters that may have an effect on this problem with some limited success. I have not tried a different message queue system yet, as HornetQ was supposed to be so much better/faster than the previous versions. At this point I don't think that we want to go replacing the underlying message queue system, but will keep it in the back of my mind.
-
3. Re: Singleton accessing JMS Message Queue Died, How to detect and restart
mayerw01 Dec 15, 2015 9:39 AM (in response to smeverts)Btw apparently HornetQ is being migrated to ActiveMQ anyway (The HornetQ Team Blog: HornetQ Apache donation and Apache Artemis 1.0.0 release)
-
4. Re: Singleton accessing JMS Message Queue Died, How to detect and restart
jbertram Dec 15, 2015 9:53 AM (in response to smeverts)A couple of things...
- Check out HornetQ's flow control features. They may allow you to avoid a bunch of custom logic.
- The WARN message you are seeing indicates something is hanging (likely a consumer). I would recommend you get a few thread dumps during the time you see this message so you can see what's hanging (if anything).
- I don't know why your singleton dies. That's more of an application server thing and I work pretty much exclusively on the message broker end of things.
-
5. Re: Singleton accessing JMS Message Queue Died, How to detect and restart
jbertram Dec 15, 2015 9:57 AM (in response to mayerw01)To be clear, the HornetQ code-base was donated to the Apache ActiveMQ project over a year ago now and has become Apache ActiveMQ Artemis. This broker has already been integrated into the latest releases of Wildfly.
-
6. Re: Singleton accessing JMS Message Queue Died, How to detect and restart
smeverts Dec 15, 2015 1:44 PM (in response to mayerw01)Thanks!!! I didn't know that, must of overlooked it.