站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 messaging API Documentation 英文版文档

DestinationMBean (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq.server.jmx
Interface DestinationMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Subinterfaces:
QueueMBean, TopicMBean
All Known Implementing Classes:
DestinationMBeanSupport, Queue, Topic

public interface DestinationMBean
extends org.jboss.system.ServiceMBean

MBean interface for destination managers.

Version:
$Revision: 1.2.2.7 $
Author:
Peter Antman

Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 javax.management.ObjectName getDestinationManager()
          Get the value of JBossMQService.
 boolean getInMemory()
          Retrieve the topic/queue in memory mode
 String getJNDIName()
          Gets the JNDI name use by this destination.
 int getMaxDepth()
          Retrieve the maximum depth of the queue or individual subscriptions
 MessageCounter[] getMessageCounter()
          get message counter of all internal queues
 int getMessageCounterHistoryDayLimit()
          Gets the destination message counter history day limit
 MessageStatistics[] getMessageStatistics()
          get message statistics of all internal queues
 Class getReceiversImpl()
          Returns the implementation class for receivers
 long getRedeliveryDelay()
          Returns the message redelivery delay, the delay in milliseconds before a rolled back or recovered message is redelivered
 int getRedeliveryLimit()
          Returns the message redelivery limit; the number of redelivery attempts before a message is moved to the DLQ.
 String listMessageCounter()
          List destination message counter
 String listMessageCounterHistory()
          List destination message counter history
 void removeAllMessages()
          Get the value of JBossMQService.
 void resetMessageCounter()
          Reset destination message counter
 void resetMessageCounterHistory()
          Reset destination message counter history
 void setDestinationManager(javax.management.ObjectName jbossMQService)
          Set the value of JBossMQService.
 void setInMemory(boolean mode)
          Set the temporary topic/queue in memory mode
 void setJNDIName(String name)
          Sets the JNDI name for this destination
 void setMaxDepth(int depth)
          Set the maximum depth of the queue or individual subscriptions
 void setMessageCounterHistoryDayLimit(int days)
          Sets the destination message counter history day limit <0: unlimited, =0: disabled, > 0 maximum day count
 void setReceiversImpl(Class receivers)
          Sets the class implementating the receivers
 void setRedeliveryDelay(long rDelay)
          Sets the Message redelivery delay in milliseconds.
 void setRedeliveryLimit(int limit)
          Sets the redelivery limit.
 void setSecurityConf(Element securityConf)
          Sets the security xml config
 void setSecurityManager(javax.management.ObjectName securityManager)
          Set the object name of the security manager.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

removeAllMessages

public void removeAllMessages()
                       throws Exception
Get the value of JBossMQService.

Returns:
value of JBossMQService.
Throws:
Exception

getDestinationManager

public javax.management.ObjectName getDestinationManager()
Get the value of JBossMQService.

Returns:
value of JBossMQService.

setDestinationManager

public void setDestinationManager(javax.management.ObjectName jbossMQService)
Set the value of JBossMQService.


setJNDIName

public void setJNDIName(String name)
                 throws Exception
Sets the JNDI name for this destination

Parameters:
name - Name to bind this topic to in the JNDI tree
Throws:
Exception

getJNDIName

public String getJNDIName()
Gets the JNDI name use by this destination.

Returns:
The JNDI name currently in use

setSecurityConf

public void setSecurityConf(Element securityConf)
                     throws Exception
Sets the security xml config

Throws:
Exception

setSecurityManager

public void setSecurityManager(javax.management.ObjectName securityManager)
Set the object name of the security manager.


getMessageCounter

public MessageCounter[] getMessageCounter()
get message counter of all internal queues


getMessageStatistics

public MessageStatistics[] getMessageStatistics()
                                         throws Exception
get message statistics of all internal queues

Throws:
Exception

listMessageCounter

public String listMessageCounter()
List destination message counter

Returns:
String

resetMessageCounter

public void resetMessageCounter()
Reset destination message counter


listMessageCounterHistory

public String listMessageCounterHistory()
List destination message counter history

Returns:
String

resetMessageCounterHistory

public void resetMessageCounterHistory()
Reset destination message counter history


setMessageCounterHistoryDayLimit

public void setMessageCounterHistoryDayLimit(int days)
Sets the destination message counter history day limit <0: unlimited, =0: disabled, > 0 maximum day count

Parameters:
days - maximum day count

getMessageCounterHistoryDayLimit

public int getMessageCounterHistoryDayLimit()
Gets the destination message counter history day limit

Returns:
Maximum day count

getMaxDepth

public int getMaxDepth()
Retrieve the maximum depth of the queue or individual subscriptions

Returns:
the maximum depth

setMaxDepth

public void setMaxDepth(int depth)
Set the maximum depth of the queue or individual subscriptions

Parameters:
depth - the maximum depth, zero means unlimited

getInMemory

public boolean getInMemory()
Retrieve the topic/queue in memory mode

Returns:
true for in memory

setInMemory

public void setInMemory(boolean mode)
Set the temporary topic/queue in memory mode


getRedeliveryLimit

public int getRedeliveryLimit()
Returns the message redelivery limit; the number of redelivery attempts before a message is moved to the DLQ.


setRedeliveryLimit

public void setRedeliveryLimit(int limit)
Sets the redelivery limit.


getRedeliveryDelay

public long getRedeliveryDelay()
Returns the message redelivery delay, the delay in milliseconds before a rolled back or recovered message is redelivered


setRedeliveryDelay

public void setRedeliveryDelay(long rDelay)
Sets the Message redelivery delay in milliseconds.


getReceiversImpl

public Class getReceiversImpl()
Returns the implementation class for receivers


setReceiversImpl

public void setReceiversImpl(Class receivers)
Sets the class implementating the receivers



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.