0 Replies Latest reply on Dec 15, 2005 8:49 AM by hi all

    MDB PLEASE HELP

    hi all Newbie

      hi

      i have one doubt.
      in MDB
      in onMessage() i have something like this

      pubic void onMessage(Message m){
      
      badMethod()//which may block for ever
      }
      

      now i want to take back control from this function after certain period.I dont want my Bean to continue after timeout and i want it to go back to pool how can i do it.??
      I tried transaction timeout and also UserTranasction. It doesn't seems to work??
      what can i do
      please help
      Regards
      Ragu