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

java.lang.Object
  extended by org.objectweb.joram.client.jms.admin.AdministeredObject
      extended by org.objectweb.joram.client.jms.Destination
          extended by org.objectweb.joram.client.jms.Queue
              extended by org.objectweb.joram.client.jms.admin.DeadMQueue
All Implemented Interfaces:
SoapObjectItf, java.io.Serializable, javax.jms.Destination, javax.jms.Queue, javax.naming.Referenceable, DestinationMBean, QueueMBean

Deprecated. Since Joram 5.2.2 the DeadMQueue is a simply a Queue.

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
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, removeFromCluster, setNbMaxMsg, setThreshold
 
Methods inherited from class org.objectweb.joram.client.jms.Destination
addInterceptors, addReader, addWriter, check, checkId, code, decode, delete, doCreate, doRequest, equals, fromReference, getAdminName, getDMQ, getDMQId, getInterceptors, getJMXBeanName, getName, getReaderList, getReaders, getStatistic, getStatistics, getType, getWrapper, getWriterList, getWriters, hashCode, isFreelyReadable, isFreelyWriteable, isQueue, isTopic, newInstance, registerMBean, removeInterceptors, removeReader, removeWriter, replaceInterceptor, setDMQ, setDMQId, setFreelyReadable, setFreelyWriteable, setFreeReading, setFreeWriting, setProperties, 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
 

Constructor Detail

DeadMQueue

public DeadMQueue()
Deprecated. 

DeadMQueue

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

createDeadMQueue

public static Queue createDeadMQueue(java.lang.String agentId,
                                     java.lang.String name)
Deprecated. 

create

public static Queue create()
                    throws java.net.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:
java.net.ConnectException - If the admin connection is closed or broken.
AdminException - If the request fails.

create

public static Queue create(int serverId)
                    throws java.net.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:
java.net.ConnectException - If the admin connection is closed or broken.
AdminException - If the request fails.

create

public static Queue create(int serverId,
                           java.lang.String name)
                    throws java.net.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:
java.net.ConnectException - If the admin connection is closed or broken.
AdminException - If the request fails.

toString

public java.lang.String toString()
Deprecated. 
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
Returns:
A provider-specific identity values for this queue.


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.