Package org.apache.activemq.plugin
Class DiscardingDLQBrokerPlugin
java.lang.Object
org.apache.activemq.plugin.DiscardingDLQBrokerPlugin
- All Implemented Interfaces:
BrokerPlugin
- Version:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPattern[]intinstallPlugin(Broker broker) Installs the plugin into the intercepter chain of the broker, returning the new intercepted broker to use.booleanbooleanbooleanvoidsetDropAll(boolean dropAll) voidsetDropOnly(String dropOnly) voidsetDropTemporaryQueues(boolean dropTemporaryQueues) voidsetDropTemporaryTopics(boolean dropTemporaryTopics) voidsetReportInterval(int reportInterval)
-
Field Details
-
log
public static org.slf4j.Logger log
-
-
Constructor Details
-
DiscardingDLQBrokerPlugin
public DiscardingDLQBrokerPlugin()
-
-
Method Details
-
installPlugin
Installs the plugin into the intercepter chain of the broker, returning the new intercepted broker to use.- Specified by:
installPluginin interfaceBrokerPlugin- Parameters:
broker- Broker- Returns:
- Broker
- Throws:
Exception
-
isDropAll
public boolean isDropAll() -
isDropTemporaryQueues
public boolean isDropTemporaryQueues() -
isDropTemporaryTopics
public boolean isDropTemporaryTopics() -
getDropOnly
-
getReportInterval
public int getReportInterval() -
setDropTemporaryTopics
public void setDropTemporaryTopics(boolean dropTemporaryTopics) -
setDropTemporaryQueues
public void setDropTemporaryQueues(boolean dropTemporaryQueues) -
setDropAll
public void setDropAll(boolean dropAll) -
setDropOnly
-
setReportInterval
public void setReportInterval(int reportInterval) -
getDestFilter
-