activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdiesel <macdie...@speakeasy.net>
Subject How to correctly use AMQ with Tomcat
Date Sun, 19 Aug 2007 01:22:43 GMT

We seem to have an issue currently with our tomcat container dropping
messages into activemq. 

Here is how it is setup:
-Event happens
-producer is created to drop the message in the queue
-messages is created and dropped into the queue
-producer is closed

The problem seems however is that even after closing the session and the
connection the connection will stay active and not close.  There is also a
60 second timeout set in the activemq config but these sessions never time
out.  Eventually after about 1,000 messages AMQ runs out of file writers and
becomes unresponsive.

So my question is this... What is the correct procedure for doing something
like this?  How are you suppose to close these connections after the message
is sent.

Also we are working with a very low volume here so the overhead of creating
the producer for each message is a non issue.

Thanks,

Mac
-- 
View this message in context: http://www.nabble.com/How-to-correctly-use-AMQ-with-Tomcat-tf4292054s2354.html#a12218527
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message