|
||||||||||
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
The DeadMQueue
class allows administrators to manipulate
dead message queues.
Field Summary |
Fields inherited from class org.objectweb.joram.client.jms.Destination |
adminName, agentId |
Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
id, instancesTable |
Constructor Summary | |
DeadMQueue(java.lang.String agentId)
Constructs a DeadMQueue instance. |
|
DeadMQueue(java.lang.String agentId,
java.lang.String name)
Constructs a DeadMQueue instance. |
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. |
java.lang.String |
toString()
Returns a String image of the queue. |
Methods inherited from class org.objectweb.joram.client.jms.Queue |
create, create, create, create, create, decode, getPendingMessages, getPendingRequests, getQueueName, getThreshold, setThreshold |
Methods inherited from class org.objectweb.joram.client.jms.Destination |
code, delete, doCreate, equals, getAdminName, getDMQ, getName, getReaders, getReference, getWriters, isFreelyReadable, isFreelyWriteable, isQueue, setDMQ, setFreeReading, setFreeWriting, setReader, setWriter, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter |
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject |
getInstance |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DeadMQueue(java.lang.String agentId)
DeadMQueue
instance.
agentId
- Identifier of the dead message queue agent.public DeadMQueue(java.lang.String agentId, java.lang.String name)
DeadMQueue
instance.
agentId
- Identifier of the dead message queue agent.name
- Name set by administrator.Method Detail |
public java.lang.String toString()
Queue
toString
in interface javax.jms.Queue
toString
in class Queue
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 deployement fails server side.
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() throws java.net.ConnectException, AdminException
The request fails if the destination deployement fails server side.
java.net.ConnectException
- If the admin connection is closed or broken.
AdminException
- If the request fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |