Question

I noticed that my processes that subscribe to a JMS topic stop getting messages posted to that topic after some time in which no messages were posted to the topic (I can't quantify precisely this time, but let's say a minute). I am using JBoss Application Server v4.2 to manage the topics.

Any idea why is that and how to ensure that my subscribers would still be able to get messages even after days that nothing was posted to their topics?

Was it helpful?

Solution

There is a file called 'remoting-bisocket-service.xml' in [install directory]/jboss/server/default/deploy/jboss-messaging.sar

In it the default timeout is usually set to 30 seconds. This value needs to be set to 0 for an infinite timeout.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top