0 Replies Latest reply on Nov 2, 2013 6:02 PM by samuel_sathees

    MDB - Temporarily undeploy the ear or  Pause consuming messages from Topic

    samuel_sathees Newbie

      Hi,

       

      I have an application which uses MessageDrivenBean with durable subscription on JMS Topic deployed on Jboss 4.3.2GA. the MDB send the messages to external system from Topic. Now when there is a requirement to temporarily pause the message flow to the external system I delete the ear (MDBImplementation) from the deploy the folder. then messaging resumes  when I drop the ear again in the deploy folder.

       

      is there anyway I can achieve this using program ?

      1) Is there anyway using Mbean to manage this MDB ? or

      2) Is there anyway I can find an API on Jboss container to temporarily un-deploy the MDB ?

       

       

      appriciate your help on this

       

      thanks & regards

      samual