mirror of https://github.com/apache/activemq.git
propagate exceptions up to the caller
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
43d2ef0469
commit
b376ce24ef
|
@ -40,7 +40,7 @@ public class QueueView extends DestinationView implements QueueViewMBean{
|
||||||
return OpenTypeSupport.convert(rc);
|
return OpenTypeSupport.convert(rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void purge(){
|
public void purge() throws Exception{
|
||||||
((Queue) destination).purge();
|
((Queue) destination).purge();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,8 +61,9 @@ public interface QueueViewMBean extends DestinationViewMBean {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes all of the messages in the queue.
|
* Removes all of the messages in the queue.
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public void purge();
|
public void purge() throws Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copies a given message to another destination.
|
* Copies a given message to another destination.
|
||||||
|
|
Loading…
Reference in New Issue