public class ForcePersistencyModeBroker extends BrokerFilter
| Modifier and Type | Field and Description |
|---|---|
static Logger |
log |
next| Constructor and Description |
|---|
ForcePersistencyModeBroker(Broker next)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPersistent() |
void |
send(ProducerBrokerExchange producerExchange,
org.apache.activemq.command.Message messageSend)
Sets the persistence mode
|
void |
setPersistenceFlag(boolean mode) |
acknowledge, addBroker, addConnection, addConsumer, addDestination, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getNext, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, start, stop, virtualDestinationAdded, virtualDestinationRemovedpublic ForcePersistencyModeBroker(Broker next)
next - public boolean isPersistent()
public void setPersistenceFlag(boolean mode)
mode - the persistenceFlag to setpublic void send(ProducerBrokerExchange producerExchange, org.apache.activemq.command.Message messageSend) throws Exception
send in interface Regionsend in class BrokerFilterproducerExchange - the environment the operation is being executed under.Exception - TODOBrokerFilter.send(org.apache.activemq.broker.ProducerBrokerExchange, org.apache.activemq.command.Message)Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.