0 Replies Latest reply on Sep 28, 2004 11:57 PM by Erik Westland

    Self-disable of MDB?

    Erik Westland Newbie

      Hello,

      I have a situation where a resource my MDB relies upon can become inaccessible. I can detect the situation in my onMessage() method, but don't know how to tell the JMX server to disable it; allowing the messages to queue while an operator fixes the resource.

      BTW - I don't want to leave the bean enabled because I am trying to avoid messages ending up in the dead letter queue.

      Thoughts?

      Thanks,
      Erik