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, setFreelyWriteablevoid setNbMaxMsg(int nbMaxMsg)
throws ConnectException,
AdminException
ConnectExceptionAdminExceptionint getNbMaxMsg()
throws ConnectException,
AdminException
ConnectExceptionAdminExceptionvoid setThreshold(int threshold)
throws ConnectException,
AdminException
ConnectExceptionAdminExceptionint getThreshold()
throws ConnectException,
AdminException
ConnectExceptionAdminExceptionint getPendingMessages()
throws ConnectException,
AdminException
ConnectExceptionAdminExceptionint getPendingRequests()
throws ConnectException,
AdminException
ConnectExceptionAdminExceptionString[] getMessageIds() throws ConnectException, AdminException
ConnectExceptionAdminExceptionString getMessageDigest(String msgId) throws AdminException, ConnectException, jakarta.jms.JMSException
AdminExceptionConnectExceptionjakarta.jms.JMSExceptionProperties getMessageHeader(String msgId) throws ConnectException, AdminException, jakarta.jms.JMSException
ConnectExceptionAdminExceptionjakarta.jms.JMSExceptionProperties getMessageProperties(String msgId) throws ConnectException, AdminException, jakarta.jms.JMSException
ConnectExceptionAdminExceptionjakarta.jms.JMSExceptionvoid deleteMessage(String msgId) throws ConnectException, AdminException
ConnectExceptionAdminExceptionvoid clear()
throws ConnectException,
AdminException
ConnectExceptionAdminExceptionvoid 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 © 2023 ScalAgent D.T.. All rights reserved.