2 Replies Latest reply on Jan 17, 2003 6:47 PM by Elias Ross

    Can a MDB be suspend & resume itself?

    Paul Bandler Newbie

      I would like to be able to create a MDB that suspends and resumes delivery of messages to its onMessage call-back - can this be achieved?

      I notice that the Connection interface has a stop and start method but normally an MDB doesn't have access to the 'connection' that I assume exists within JBoss between an MDB and the destination that it serves. Is there a way to access and manipulate this connection object from the MDB?

      Thanks in anticipation,

      Paul Bandler