public class ForcePersistencyModeBrokerPlugin extends Object implements BrokerPlugin
Constructor and Description |
---|
ForcePersistencyModeBrokerPlugin()
Constructor
|
Modifier and Type | Method and Description |
---|---|
Broker |
installPlugin(Broker broker)
Installs the plugin into the interceptor chain of the broker, returning the new
intercepted broker to use.
|
boolean |
isPersistenceForced() |
void |
setPersistenceFlag(boolean persistenceFlag)
Sets the persistence mode.
|
public ForcePersistencyModeBrokerPlugin()
public Broker installPlugin(Broker broker) throws Exception
BrokerPlugin
installPlugin
in interface BrokerPlugin
broker
- Exception
BrokerPlugin.installPlugin(org.apache.activemq.broker.Broker)
public void setPersistenceFlag(boolean persistenceFlag)
persistenceFlag
- public final boolean isPersistenceForced()
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.