org.apache.activemq.plugin
Class RuntimeConfigurationBroker

java.lang.Object
  extended by org.apache.activemq.broker.BrokerFilter
      extended by org.apache.activemq.plugin.RuntimeConfigurationBroker
All Implemented Interfaces:
Broker, Region, Service

public class RuntimeConfigurationBroker
extends BrokerFilter


Nested Class Summary
static class RuntimeConfigurationBroker.PropertiesPlaceHolderUtil
           
 
Field Summary
static Logger LOG
           
static String objectNamePropsAppendage
           
 
Fields inherited from class org.apache.activemq.broker.BrokerFilter
next
 
Constructor Summary
RuntimeConfigurationBroker(Broker next)
           
 
Method Summary
 Destination addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary)
          Used to create a destination.
 long getCheckPeriod()
           
 org.springframework.core.io.Resource getConfigToMonitor()
           
 long getLastModified()
           
 void setCheckPeriod(long checkPeriod)
           
 void start()
           
 void stop()
           
 String updateNow()
           
 
Methods inherited from class org.apache.activemq.broker.BrokerFilter
acknowledge, addBroker, addConnection, addConsumer, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, send, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final Logger LOG

objectNamePropsAppendage

public static final String objectNamePropsAppendage
See Also:
Constant Field Values
Constructor Detail

RuntimeConfigurationBroker

public RuntimeConfigurationBroker(Broker next)
Method Detail

start

public void start()
           throws Exception
Specified by:
start in interface Service
Overrides:
start in class BrokerFilter
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Service
Overrides:
stop in class BrokerFilter
Throws:
Exception

addDestination

public Destination addDestination(ConnectionContext context,
                                  ActiveMQDestination destination,
                                  boolean createIfTemporary)
                           throws Exception
Description copied from interface: Region
Used to create a destination. Usually, this method is invoked as a side-effect of sending a message to a destination that does not exist yet.

Specified by:
addDestination in interface Region
Overrides:
addDestination in class BrokerFilter
destination - the destination to create.
Returns:
TODO
Throws:
Exception - TODO

updateNow

public String updateNow()

getLastModified

public long getLastModified()

getConfigToMonitor

public org.springframework.core.io.Resource getConfigToMonitor()

getCheckPeriod

public long getCheckPeriod()

setCheckPeriod

public void setCheckPeriod(long checkPeriod)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.