Class DeadMQueue
- java.lang.Object
-
- org.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
-
- All Implemented Interfaces:
Serializable,Destination,Queue,Referenceable,DestinationMBean,QueueMBean
public class DeadMQueue extends Queue
Deprecated.Since Joram 5.2.2 the DeadMQueue is a simply a Queue.TheDeadMQueueclass allows administrators to manipulate dead message queues.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDDeprecated.define serialVersionUID for interoperability-
Fields inherited from class org.objectweb.joram.client.jms.Queue
DELIVERY_DELAY, REDELIVERY_DELAY
-
Fields inherited from class org.objectweb.joram.client.jms.Destination
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
-
Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
rand
-
-
Constructor Summary
Constructors Constructor Description DeadMQueue()Deprecated.DeadMQueue(String name)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Queuecreate()Deprecated.Admin method creating and deploying a dead message queue on the local server.static Queuecreate(int serverId)Deprecated.Admin method creating and deploying a dead message queue on a given server.static Queuecreate(int serverId, String name)Deprecated.Admin method creating and deploying a dead message queue on a given server.static QueuecreateDeadMQueue(String agentId, String name)Deprecated.StringtoString()Deprecated.Returns a String image of the queue.-
Methods inherited from class org.objectweb.joram.client.jms.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, setDeliveryDelay, setNbMaxMsg, setPause, setProperties, setRedeliveryDelay, setSyncExceptionOnFull, setThreshold
-
Methods inherited from class org.objectweb.joram.client.jms.Destination
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, 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
addInterceptors, addReader, addWriter, delete, getAdminName, getDMQId, getInterceptors, getName, getReaderList, getStatistic, getStatistics, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, isTopic, removeInterceptors, removeReader, removeWriter, setDMQId, setFreelyReadable, setFreelyWriteable
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeadMQueue
public DeadMQueue()
Deprecated.
-
DeadMQueue
public DeadMQueue(String name)
Deprecated.
-
-
Method Detail
-
create
public static Queue create() throws ConnectException, AdminException
Deprecated.Admin method creating and deploying a dead message queue on the local server.The request fails if the destination deployment fails server side.
Be careful this method use the static AdminModule connection.
- Throws:
ConnectException- If the admin connection is closed or broken.AdminException- If the request fails.
-
create
public static Queue create(int serverId) throws ConnectException, AdminException
Deprecated.Admin method creating and deploying a dead message queue on a given server.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.
- Parameters:
serverId- The identifier of the server where deploying the queue.- Throws:
ConnectException- If the admin connection is closed or broken.AdminException- If the request fails.
-
create
public static Queue create(int serverId, String name) throws ConnectException, AdminException
Deprecated.Admin method creating and deploying a dead message queue on a given server.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.
- Parameters:
serverId- The identifier of the server where deploying the queue.name- The name of the created queue.- Throws:
ConnectException- If the admin connection is closed or broken.AdminException- If the request fails.
-
-