JMS gurus:

I currently have a JMS client which sends replies to a temporary queue
(retrieved from the getJMSReplyTo() method of the initial request message).
I've created an unidentified producer to send the reply back.

Everything works fine unless the JMS client which made the initial request
closes its connection before a reply is sent back.  The JMS client which
sends replies will then throw a IllegalDestinationException from the
QueueSender.send() method (this is expected behavior).  The problem is that
I will eventually receive a  ResourceLimitException stating that the max
number of producers has been exceeded.

This seems a bit odd since I've only created a single unidentified producer.

It seems as if more producers being created from within the
QueueSender.send(Queue, Message) method but are not being cleaned up
correctly in the event that an exception is being thrown?

Anybody have any ideas?

-Ryan


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/[email protected]/




Reply via email to