1 23 package org.objectweb.joram.client.jms; 24 25 import java.util.Properties ; 26 27 import javax.jms.JMSException ; 28 import java.net.ConnectException ; 29 30 import org.objectweb.joram.client.jms.admin.AdminException; 31 32 public interface QueueMBean extends DestinationMBean { 33 34 35 public String toString(); 36 37 public void setNbMaxMsg(int nbMaxMsg) 38 throws ConnectException , AdminException; 39 40 public int getNbMaxMsg() 41 throws ConnectException , AdminException; 42 43 46 public void setThreshold(int threshold) 47 throws ConnectException , AdminException; 48 49 52 public int getThreshold() 53 throws ConnectException , AdminException; 54 55 58 public int getPendingMessages() 59 throws ConnectException , AdminException; 60 61 64 public int getPendingRequests() 65 throws ConnectException , AdminException; 66 67 public String [] getMessageIds() 68 throws ConnectException , AdminException; 69 70 public String getMessageDigest(String msgId) 71 throws AdminException, ConnectException , JMSException ; 72 73 public Properties getMessageHeader(String msgId) 74 throws ConnectException , AdminException, JMSException ; 75 76 public Properties getMessageProperties(String msgId) 77 throws ConnectException , AdminException, JMSException ; 78 79 public void deleteMessage(String msgId) 80 throws ConnectException , AdminException; 81 82 public void clear() 83 throws ConnectException , AdminException; 84 } 85 | Popular Tags |