0 Replies Latest reply on Feb 4, 2009 8:08 AM by Mauricio Martinez

    MDB is invoqued before the sending method ends.

    Mauricio Martinez Newbie

      Hi, from an standalone client I invoque a method of a EJB3 stateless bean.
      The method sends a message to a queue and updates the database. My problem is that the MDB listener is invoqued immediatly, when the sender method is still working and the changes are not commited. Is there a way to configure the queue or the MDB to wait for the commit?
      BTW, I'm working on JbossAS 4.2.3.

      Thanks.