I wrote a Windows service using the Apache.NMS and Apcahe.NMS.ActiveMQ libraries (version 1.0). The service spends messages from ActiveMQ from the provider's server.
The service joins the connection and listens for messages (I am handling the OnMessage event)
A connection is a transactional connection, so I call commit after each message.
When the service starts, everything works very well and does this for a while. However, after it starts for a while, it will no longer consume messages. Even if I reset the service. It usually takes a reboot of my service and the provider server (tomcat) to get started again. The seller insists that there is nothing wrong with them.
No exceptions are thrown from each side (client or server) - it just gets stuck.
Should I use Spring.Messaging.Nms?
source
share