5 Replies Latest reply on Apr 28, 2009 1:23 AM by Yong Hao Gao

    Best way to pause delivery of messages on a queue

    Ross Nicholson Apprentice

      I have a situation whereby it would be helpful to be able to stop delivery of messages on a queue but still allows client to add messages to the queue in question.

      I see that there is a stopDelivery method in the JMSContainerInvokerMBean.

      Will calling this stop delivery and still allow clients to add messages to the queue?

      Is is this the same as the stop command in the JMX console? If it is then it would stop messages being added to the queue. In this case is there another way to do this?

      Thanks,

      Ross