|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.plugin.SubQueueSelectorCacheBrokerPlugin
public class SubQueueSelectorCacheBrokerPlugin
A plugin which allows the caching of the selector from a subscription queue.
This stops the build-up of unwanted messages, especially when consumers may disconnect from time to time when using virtual destinations. This is influenced by code snippets developed by Maciej Rakowicz
Constructor Summary | |
---|---|
SubQueueSelectorCacheBrokerPlugin()
|
Method Summary | |
---|---|
java.io.File |
getPersistFile()
|
Broker |
installPlugin(Broker broker)
Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use. |
void |
setPersistFile(java.io.File persistFile)
Sets the location of the persistent cache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubQueueSelectorCacheBrokerPlugin()
Method Detail |
---|
public Broker installPlugin(Broker broker) throws java.lang.Exception
BrokerPlugin
installPlugin
in interface BrokerPlugin
java.lang.Exception
public void setPersistFile(java.io.File persistFile)
public java.io.File getPersistFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |