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

    Self-disable of MDB?

    ewestland

      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