public interface QueueMBean extends DestinationMBean
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
deleteMessage(String msgId) |
String |
getMessageDigest(String msgId) |
Properties |
getMessageHeader(String msgId) |
String[] |
getMessageIds() |
Properties |
getMessageProperties(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 |
registerAsDefaultDMQ()
Sets the current queue as the default DMQ for the local server.
|
void |
registerAsDefaultDMQ(int serverId)
Sets the current queue as the default DMQ for the given server.
|
void |
setNbMaxMsg(int nbMaxMsg) |
void |
setThreshold(int threshold)
Admin method setting or unsetting the threshold for this queue.
|
addInterceptors, addReader, addWriter, delete, getAdminName, getDMQId, getInterceptors, getName, getReaderList, getStatistic, getStatistics, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, isTopic, removeInterceptors, removeReader, removeWriter, setDMQId, setFreelyReadable, setFreelyWriteable
void setNbMaxMsg(int nbMaxMsg) throws ConnectException, AdminException
ConnectException
AdminException
int getNbMaxMsg() throws ConnectException, AdminException
ConnectException
AdminException
void setThreshold(int threshold) throws ConnectException, AdminException
ConnectException
AdminException
int getThreshold() throws ConnectException, AdminException
ConnectException
AdminException
int getPendingMessages() throws ConnectException, AdminException
ConnectException
AdminException
int getPendingRequests() throws ConnectException, AdminException
ConnectException
AdminException
String[] getMessageIds() throws ConnectException, AdminException
ConnectException
AdminException
String getMessageDigest(String msgId) throws AdminException, ConnectException, javax.jms.JMSException
AdminException
ConnectException
javax.jms.JMSException
Properties getMessageHeader(String msgId) throws ConnectException, AdminException, javax.jms.JMSException
ConnectException
AdminException
javax.jms.JMSException
Properties getMessageProperties(String msgId) throws ConnectException, AdminException, javax.jms.JMSException
ConnectException
AdminException
javax.jms.JMSException
void deleteMessage(String msgId) throws ConnectException, AdminException
ConnectException
AdminException
void clear() throws ConnectException, AdminException
ConnectException
AdminException
void registerAsDefaultDMQ() throws ConnectException, AdminException
ConnectException
- If the connection fails.AdminException
- Never thrown.void registerAsDefaultDMQ(int serverId) throws ConnectException, AdminException
The request fails if the target server does not belong to the platform.
serverId
- The identifier of the server.ConnectException
- If the connection fails.AdminException
- If the request fails.Copyright © 2018 ScalAgent D.T.. All Rights Reserved.