5 Replies Latest reply on Sep 18, 2009 8:41 AM by gaohoward

    Jboss messaging with transactions and persistance optimizati

    damian.sinczak

      I would like to know if there is a possibility to force JBoss to persist messages sent to queue immediately. Currently in single transaction i send some about 600 000 messages (i can't change it because its my project nature) and I have great problem with RAM memory because queue during sending messages does not persist them but keep them in memory waiting for transaction commit. with the amount of messages I send JBoss takes all RAM available and i slows down a lot.

      Is there a way to force JBoss messaging to save messages in database immediately and not keep them in memory waiting or commit. Of course I would like to have rollback functionality.