2 Replies Latest reply on Jun 17, 2005 2:35 PM by Ovidiu Feodorov

    Message/AckStore question


      I am trying to figure out how the "message priority" task (http://jira.jboss.org/jira/browse/JBMESSAGING-59) could be implemented. It might be be a good starting point in order to get to know the sources a little better.

      There one thing (amongst many others) i didnt really understand:

      NACK'ed messages that should be delivered asynch are passed to the MessageStore and AckStore, if they cant be delivered right away. The LocalPipe looks at the AckStore for NACK'ed messages and passes them to the router. Messages are removed from the AckStore (in this case the local one), when the router accepts them.

      When are successful delivered messages removed from the MessageStore?