1 Reply Latest reply on May 3, 2002 5:01 AM by Jonathan O'Connor

    MDB Consumption on JBoss restart

    David Streever Newbie

      We have an issues the is hanging the server during some operation that sends a bunch of messages. We're trying to id that issue.

      As a result, we have several messages added to the queue that don't get comsumed by our MDB.

      Here is my concern, when we restart the server the messages are consumed by the MDB BEFORE the SessionBean the MDB communicates with has been deployed. Therefore, all the messages are consumed and an error message is displayed for each message about not finding a resource (the session bean).

      How can I prevent these messages from getting consumed until the entire application has been deployed?

      Thanks.