org.jboss.jms.server.destination
Class ManagedDestination
java.lang.Object
org.jboss.jms.server.destination.ManagedDestination
- All Implemented Interfaces:
- MessagingComponent
- Direct Known Subclasses:
- ManagedQueue, ManagedTopic
public abstract class ManagedDestination
- extends java.lang.Object
- implements MessagingComponent
A Destination
- Version:
- $Revision: 3122 $
$Id: ManagedDestination.java 3122 2007-09-19 15:21:20Z jhowell@redhat.com $
- Author:
- Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL
protected static final int ALL
- See Also:
- Constant Field Values
DURABLE
protected static final int DURABLE
- See Also:
- Constant Field Values
NON_DURABLE
protected static final int NON_DURABLE
- See Also:
- Constant Field Values
name
protected java.lang.String name
jndiName
protected java.lang.String jndiName
clustered
protected boolean clustered
temporary
protected boolean temporary
fullSize
protected int fullSize
pageSize
protected int pageSize
downCacheSize
protected int downCacheSize
securityConfig
protected org.w3c.dom.Element securityConfig
serverPeer
protected ServerPeer serverPeer
dlq
protected ManagedQueue dlq
expiryQueue
protected ManagedQueue expiryQueue
redeliveryDelay
protected long redeliveryDelay
maxSize
protected int maxSize
messageCounterHistoryDayLimit
protected int messageCounterHistoryDayLimit
maxDeliveryAttempts
protected int maxDeliveryAttempts
ManagedDestination
public ManagedDestination()
ManagedDestination
public ManagedDestination(java.lang.String name,
int fullSize,
int pageSize,
int downCacheSize,
boolean clustered)
isClustered
public boolean isClustered()
setClustered
public void setClustered(boolean clustered)
getDownCacheSize
public int getDownCacheSize()
setDownCacheSize
public void setDownCacheSize(int downCacheSize)
getFullSize
public int getFullSize()
setFullSize
public void setFullSize(int fullSize)
getJndiName
public java.lang.String getJndiName()
setJndiName
public void setJndiName(java.lang.String jndiName)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getPageSize
public int getPageSize()
setPageSize
public void setPageSize(int pageSize)
getSecurityConfig
public org.w3c.dom.Element getSecurityConfig()
setSecurityConfig
public void setSecurityConfig(org.w3c.dom.Element securityConfig)
getServerPeer
public ServerPeer getServerPeer()
setServerPeer
public void setServerPeer(ServerPeer serverPeer)
isTemporary
public boolean isTemporary()
setTemporary
public void setTemporary(boolean temporary)
getDLQ
public Queue getDLQ()
throws java.lang.Exception
- Throws:
java.lang.Exception
setDLQ
public void setDLQ(ManagedQueue dlq)
getExpiryQueue
public Queue getExpiryQueue()
throws java.lang.Exception
- Throws:
java.lang.Exception
setExpiryQueue
public void setExpiryQueue(ManagedQueue expiryQueue)
getRedeliveryDelay
public long getRedeliveryDelay()
setRedeliveryDelay
public void setRedeliveryDelay(long delay)
getMaxSize
public int getMaxSize()
setMaxSize
public void setMaxSize(int maxSize)
throws java.lang.Exception
- Sets the max size for the destination. This will only set the MaxSize field. Processing must be
done to enable this for the queues.
http://jira.jboss.com/jira/browse/JBMESSAGING-1075
- Parameters:
maxSize
-
- Throws:
java.lang.Exception
getMessageCounterHistoryDayLimit
public int getMessageCounterHistoryDayLimit()
setMessageCounterHistoryDayLimit
public void setMessageCounterHistoryDayLimit(int limit)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMaxDeliveryAttempts
public int getMaxDeliveryAttempts()
setMaxDeliveryAttempts
public void setMaxDeliveryAttempts(int maxDeliveryAttempts)
isQueue
public abstract boolean isQueue()
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface MessagingComponent
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop
in interface MessagingComponent
- Throws:
java.lang.Exception
Copyright © 2006 JBoss Inc. All Rights Reserved.