2 Replies Latest reply on May 26, 2007 5:17 PM by Wojciech Kuranowski

    Stop MDB processing for some amount of time

    Wojciech Kuranowski Newbie

      Hi.

      I would like to stop listening on JMS queue for about 5 minutes, just after I catch exception (connection refused in most cases) in onMessage() (maxSession set to 1).

      I've tried with interceptors but with no luck.

      Do you think that there is any solution to stop processing messages in MDB for some amount of time? Some jbossmq or maybe jbossmessaging parameters?

      Greets