org.objectweb.joram.client.jms.admin
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:
- javax.jms.Destination, DestinationMBean, javax.jms.Queue, QueueMBean, javax.naming.Referenceable, java.io.Serializable, fr.dyade.aaa.jndi2.soap.SoapObjectItf
- public class DeadMQueue
- extends Queue
The DeadMQueue
class allows administrators to manipulate
dead message queues.
- See Also:
- Serialized Form
Method Summary |
static Queue |
create()
Admin method creating and deploying a dead message queue on the
local server. |
static Queue |
create(int serverId)
Admin method creating and deploying a dead message queue on a given
server. |
static boolean |
isDeadMQueue(java.lang.String type)
|
java.lang.String |
toString()
Returns a String image of the queue. |
Methods inherited from class org.objectweb.joram.client.jms.Queue |
addClusteredQueue, clear, create, create, create, create, create, deleteMessage, getMessageIds, getNbMaxMsg, getPendingMessages, getPendingRequests, getQueueClusterElements, getQueueName, getThreshold, isQueue, readMessage, removeClusteredQueue, setNbMaxMsg, setThreshold |
Methods inherited from class org.objectweb.joram.client.jms.Destination |
addReader, addWriter, code, decode, delete, doCreate, equals, getAdminName, getDMQ, getName, getReaderList, getReaders, getReference, getStatistic, getType, getWriterList, getWriters, isAssignableTo, isFreelyReadable, isFreelyWriteable, isQueue, newInstance, removeReader, removeWriter, setDMQ, setFreelyReadable, setFreelyWriteable, setFreeReading, setFreeWriting, setReader, setWriter, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.joram.client.jms.DestinationMBean |
addReader, addWriter, delete, getAdminName, getDMQ, getName, getReaderList, getStatistic, getType, getWriterList, isFreelyReadable, isFreelyWriteable, isQueue, removeReader, removeWriter, setDMQ, setFreelyReadable, setFreelyWriteable |
DeadMQueue
public DeadMQueue()
DeadMQueue
public DeadMQueue(java.lang.String name)
isDeadMQueue
public static boolean isDeadMQueue(java.lang.String type)
create
public static Queue create(int serverId)
throws java.net.ConnectException,
AdminException
- 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 deployement fails server side.
- Parameters:
serverId
- The identifier of the server where deploying the queue.
- Throws:
java.net.ConnectException
- If the admin connection is closed or broken.
AdminException
- If the request fails.
create
public static Queue create()
throws java.net.ConnectException,
AdminException
- Admin method creating and deploying a dead message queue on the
local server.
The request fails if the destination deployement fails server side.
- Throws:
java.net.ConnectException
- If the admin connection is closed or broken.
AdminException
- If the request fails.
toString
public java.lang.String toString()
- Description copied from class:
Queue
- Returns a String image of the queue.
- Specified by:
toString
in interface javax.jms.Queue
- Overrides:
toString
in class Queue
Copyright © 2005 Scalagent - All rights reserved