|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.Destination
org.objectweb.joram.client.jms.Queue
org.objectweb.joram.client.jms.admin.DeadMQueue
public class DeadMQueue
The DeadMQueue
class allows administrators to manipulate
dead message queues.
Field Summary | |
---|---|
private static long |
serialVersionUID
Deprecated. define serialVersionUID for interoperability |
Fields inherited from class org.objectweb.joram.client.jms.Destination |
---|
ACQUISITION_QUEUE, ACQUISITION_TOPIC, adminName, agentId, CLUSTER_QUEUE, DEAD_MQUEUE, DISTRIBUTION_QUEUE, DISTRIBUTION_TOPIC, JMXBeanName, logger, QUEUE, QUEUE_TYPE, SCHEDULER_QUEUE, TEMPORARY, TOPIC, TOPIC_TYPE |
Constructor Summary | |
---|---|
DeadMQueue()
Deprecated. |
|
DeadMQueue(java.lang.String name)
Deprecated. |
Method Summary | |
---|---|
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,
java.lang.String name)
Deprecated. Admin method creating and deploying a dead message queue on a given server. |
static Queue |
createDeadMQueue(java.lang.String agentId,
java.lang.String name)
Deprecated. |
java.lang.String |
toString()
Deprecated. Returns a String image of the queue. |
Methods inherited from class org.objectweb.joram.client.jms.Queue |
---|
addClusteredQueue, clear, create, create, create, create, createQueue, deleteMessage, getMessage, getMessageDigest, getMessageHeader, getMessageIds, getMessageProperties, getNbMaxMsg, getPendingMessages, getPendingRequests, getQueueClusterElements, getQueueName, getThreshold, readMessage, registerAsDefaultDMQ, registerAsDefaultDMQ, removeClusteredQueue, setNbMaxMsg, setThreshold |
Methods inherited from class org.objectweb.joram.client.jms.Destination |
---|
addReader, addWriter, check, checkId, code, decode, delete, doCreate, doRequest, equals, fromReference, getAdminName, getDMQ, getDMQId, getJMXBeanName, getName, getReaderList, getReaders, getStatistic, getStatistics, getType, getWrapper, getWriterList, getWriters, hashCode, isFreelyReadable, isFreelyWriteable, isQueue, isTopic, newInstance, registerMBean, removeReader, removeWriter, setDMQ, setDMQId, setFreelyReadable, setFreelyWriteable, setFreeReading, setFreeWriting, setReader, setWrapper, setWriter, toReference, toXml, unregisterMBean, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter |
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
---|
getReference |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.joram.client.jms.DestinationMBean |
---|
addReader, addWriter, delete, getAdminName, getDMQId, getName, getReaderList, getStatistic, getStatistics, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, isTopic, removeReader, removeWriter, setDMQId, setFreelyReadable, setFreelyWriteable |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public DeadMQueue()
public DeadMQueue(java.lang.String name)
Method Detail |
---|
public static Queue createDeadMQueue(java.lang.String agentId, java.lang.String name)
public static Queue create() throws java.net.ConnectException, AdminException
The request fails if the destination deployment fails server side.
Be careful this method use the static AdminModule connection.
java.net.ConnectException
- If the admin connection is closed or broken.
AdminException
- If the request fails.public static Queue create(int serverId) throws java.net.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.
java.net.ConnectException
- If the admin connection is closed or broken.
AdminException
- If the request fails.public static Queue create(int serverId, java.lang.String name) throws java.net.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.
java.net.ConnectException
- If the admin connection is closed or broken.
AdminException
- If the request fails.public java.lang.String toString()
Queue
toString
in interface javax.jms.Queue
toString
in class Queue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |