I will look at IndirectMessageReference more closely.  The pendingMessages
map does have an IndirectMessageReference for each dispatched message.  And
each IndirectMessageReference contains an ActiveMQTextMessage (in my case)
which is the fully realized message.  

So the trick is to know when the reference to the fully realized message can
be cleared.  I assume after dispatch ack it could be cleared.  But this is
really unfamiliar territory for me.

Shall I move this discussion to the dev list?

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/out-of-memory-using-producer-flow-control-and-fileQueueCursor-tp4415752p4417722.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to