public class DeadMQueue extends Queue
DeadMQueue
class allows administrators to manipulate
dead message queues.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Deprecated.
define serialVersionUID for interoperability
|
ACQUISITION_QUEUE, ACQUISITION_TOPIC, adminName, agentId, ALIAS_QUEUE, CLUSTER_QUEUE, DEAD_MQUEUE, DISTRIBUTION_QUEUE, DISTRIBUTION_TOPIC, FTP_QUEUE, JMXBeanName, logger, QUEUE, QUEUE_TYPE, SCHEDULER_QUEUE, TEMPORARY, TOPIC, TOPIC_TYPE
Constructor and Description |
---|
DeadMQueue()
Deprecated.
|
DeadMQueue(String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Queue |
create()
Deprecated.
Admin method creating and deploying a dead message queue on the
local server.
|
static Queue |
create(int serverId)
Deprecated.
Admin method creating and deploying a dead message queue on a given
server.
|
static Queue |
create(int serverId,
String name)
Deprecated.
Admin method creating and deploying a dead message queue on a given
server.
|
static Queue |
createDeadMQueue(String agentId,
String name)
Deprecated.
|
String |
toString()
Deprecated.
Returns a String image of the queue.
|
addClusteredQueue, addRemoteDestination, addRemoteDestination, clear, create, create, create, create, createQueue, deleteMessage, delRemoteDestination, delRemoteDestination, getDeliveredMessages, getMessage, getMessageDigest, getMessageHeader, getMessageIds, getMessageProperties, getNbMaxMsg, getPendingMessages, getPendingRequests, getQueueClusterElements, getQueueName, getThreshold, readMessage, registerAsDefaultDMQ, registerAsDefaultDMQ, removeClusteredQueue, removeFromCluster, sendDestinationsWeights, setNbMaxMsg, setSyncExceptionOnFull, setThreshold
addInterceptor, addInterceptors, addReader, addWriter, check, checkId, delete, doCreate, equals, fromReference, getAdminName, getDMQ, getDMQId, getInterceptors, getJMXBeanName, getName, getReaderList, getReaders, getStatistic, getStatistics, getStatistics, getType, getWrapper, getWriterList, getWriters, hashCode, isFreelyReadable, isFreelyWriteable, isQueue, isTopic, newInstance, registerMBean, removeInterceptors, removeReader, removeWriter, replaceInterceptor, replaceInterceptor, scale, setDMQ, setDMQId, setFreelyReadable, setFreelyWriteable, setFreeReading, setFreeWriting, setProperties, setReader, setWrapper, setWriter, toReference, toXml, unregisterMBean, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter
getReference
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addInterceptors, addReader, addWriter, delete, getAdminName, getDMQId, getInterceptors, getName, getReaderList, getStatistic, getStatistics, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, isTopic, removeInterceptors, removeReader, removeWriter, setDMQId, setFreelyReadable, setFreelyWriteable
private static final long serialVersionUID
public DeadMQueue()
public DeadMQueue(String name)
public static Queue create() throws ConnectException, AdminException
The request fails if the destination deployment fails server side.
Be careful this method use the static AdminModule connection.
ConnectException
- If the admin connection is closed or broken.AdminException
- If the request fails.public static Queue create(int serverId) throws ConnectException, AdminException
The request fails if the target server does not belong to the platform, or if the destination deployment fails server side.
Be careful this method use the static AdminModule connection.
serverId
- The identifier of the server where deploying the queue.ConnectException
- If the admin connection is closed or broken.AdminException
- If the request fails.public static Queue create(int serverId, String name) throws ConnectException, AdminException
The request fails if the target server does not belong to the platform, or if the destination deployment fails server side.
Be careful this method use the static AdminModule connection.
serverId
- The identifier of the server where deploying the queue.name
- The name of the created queue.ConnectException
- If the admin connection is closed or broken.AdminException
- If the request fails.Copyright © 2015 ScalAgent D.T.. All Rights Reserved.