Joram 4.3.12

org.objectweb.joram.client.jms
Interface QueueMBean

All Superinterfaces:
DestinationMBean
All Known Implementing Classes:
DeadMQueue, Queue, TemporaryQueue

public interface QueueMBean
extends DestinationMBean


Method Summary
 void clear()
           
 void deleteMessage(java.lang.String msgId)
           
 java.lang.String getMessageDigest(java.lang.String msgId)
           
 java.util.Properties getMessageHeader(java.lang.String msgId)
           
 java.lang.String[] getMessageIds()
           
 java.util.Properties getMessageProperties(java.lang.String msgId)
           
 int getNbMaxMsg()
           
 int getPendingMessages()
          Monitoring method returning the number of pending messages on this queue.
 int getPendingRequests()
          Monitoring method returning the number of pending requests on this queue.
 int getThreshold()
          Monitoring method returning the threshold of this queue, -1 if not set.
 void setNbMaxMsg(int nbMaxMsg)
           
 void setThreshold(int threshold)
          Admin method setting or unsetting the threshold for this queue.
 java.lang.String toString()
          Returns a String image of the queue.
 
Methods inherited from interface org.objectweb.joram.client.jms.DestinationMBean
addReader, addWriter, delete, getAdminName, getDMQ, getName, getReaderList, getStatistic, getType, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, removeReader, removeWriter, setDMQ, setFreelyReadable, setFreelyWriteable
 

Method Detail

toString

java.lang.String toString()
Returns a String image of the queue.

Overrides:
toString in class java.lang.Object

setNbMaxMsg

void setNbMaxMsg(int nbMaxMsg)
                 throws java.net.ConnectException,
                        AdminException
Throws:
java.net.ConnectException
AdminException

getNbMaxMsg

int getNbMaxMsg()
                throws java.net.ConnectException,
                       AdminException
Throws:
java.net.ConnectException
AdminException

setThreshold

void setThreshold(int threshold)
                  throws java.net.ConnectException,
                         AdminException
Admin method setting or unsetting the threshold for this queue.

Throws:
java.net.ConnectException
AdminException

getThreshold

int getThreshold()
                 throws java.net.ConnectException,
                        AdminException
Monitoring method returning the threshold of this queue, -1 if not set.

Throws:
java.net.ConnectException
AdminException

getPendingMessages

int getPendingMessages()
                       throws java.net.ConnectException,
                              AdminException
Monitoring method returning the number of pending messages on this queue.

Throws:
java.net.ConnectException
AdminException

getPendingRequests

int getPendingRequests()
                       throws java.net.ConnectException,
                              AdminException
Monitoring method returning the number of pending requests on this queue.

Throws:
java.net.ConnectException
AdminException

getMessageIds

java.lang.String[] getMessageIds()
                                 throws java.net.ConnectException,
                                        AdminException
Throws:
java.net.ConnectException
AdminException

getMessageDigest

java.lang.String getMessageDigest(java.lang.String msgId)
                                  throws AdminException,
                                         java.net.ConnectException,
                                         javax.jms.JMSException
Throws:
AdminException
java.net.ConnectException
javax.jms.JMSException

getMessageHeader

java.util.Properties getMessageHeader(java.lang.String msgId)
                                      throws java.net.ConnectException,
                                             AdminException,
                                             javax.jms.JMSException
Throws:
java.net.ConnectException
AdminException
javax.jms.JMSException

getMessageProperties

java.util.Properties getMessageProperties(java.lang.String msgId)
                                          throws java.net.ConnectException,
                                                 AdminException,
                                                 javax.jms.JMSException
Throws:
java.net.ConnectException
AdminException
javax.jms.JMSException

deleteMessage

void deleteMessage(java.lang.String msgId)
                   throws java.net.ConnectException,
                          AdminException
Throws:
java.net.ConnectException
AdminException

clear

void clear()
           throws java.net.ConnectException,
                  AdminException
Throws:
java.net.ConnectException
AdminException

Joram 4.3.12

Copyright © 2005 Scalagent - All rights reserved