Joram ${version}

org.objectweb.joram.client.jms.admin
Class DeadMQueue

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
      extended byorg.objectweb.joram.client.jms.Destination
          extended byorg.objectweb.joram.client.jms.Queue
              extended byorg.objectweb.joram.client.jms.admin.DeadMQueue
All Implemented Interfaces:
javax.jms.Destination, javax.jms.Queue, 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

Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.Destination
adminName, agentId
 
Constructor Summary
DeadMQueue()
           
DeadMQueue(java.lang.String name)
           
 
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, getPendingMessages, getPendingRequests, getQueueClusterElements, getQueueName, getThreshold, isQueue, readMessage, removeClusteredQueue, setThreshold
 
Methods inherited from class org.objectweb.joram.client.jms.Destination
code, decode, delete, doCreate, equals, getAdminName, getDMQ, getName, getReaders, getReference, getType, getWriters, isAssignableTo, isFreelyReadable, isFreelyWriteable, isQueue, newInstance, setDMQ, setFreeReading, setFreeWriting, setReader, setWriter, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeadMQueue

public DeadMQueue()

DeadMQueue

public DeadMQueue(java.lang.String name)
Method Detail

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

Joram ${version}

Copyright ? 2005 Scalagent - All rights reserved