activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvbrandis <>
Subject Re: Clients not receiving ResourceAllocationException in transacted sessions
Date Tue, 03 Sep 2013 06:26:21 GMT
In my opinion, it would be good form for the producer.send() to throw exception when the exception
notification reaches the client (understanding that since this is async operation, the client
may send several messages before the exception reaches the client).

However, as long as the exception is thrown calling session.commit(), then the client is able
to recover correctly.

So yes, that would work.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message