|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.region.virtual.MirroredQueue
public class MirroredQueue
Creates Mirrored Queue using a prefix and postfix to define the topic name on which to mirror the queue to.
Constructor Summary | |
---|---|
MirroredQueue()
|
Method Summary | |
---|---|
protected Destination |
getMirrorDestination(Destination destination)
|
protected ActiveMQDestination |
getMirrorTopic(ActiveMQDestination original)
|
String |
getPostfix()
|
String |
getPrefix()
|
Destination |
intercept(Destination destination)
|
boolean |
isCopyMessage()
|
void |
remove(Destination destination)
|
void |
setBrokerService(BrokerService brokerService)
|
void |
setCopyMessage(boolean copyMessage)
Sets whether a copy of the message will be sent to each destination. |
void |
setPostfix(String postfix)
Sets any postix used to identify the queue consumers |
void |
setPrefix(String prefix)
Sets the prefix wildcard used to identify the queue consumers for a given topic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MirroredQueue()
Method Detail |
---|
public Destination intercept(Destination destination)
intercept
in interface DestinationInterceptor
public void remove(Destination destination)
remove
in interface DestinationInterceptor
public String getPostfix()
public void setPostfix(String postfix)
public String getPrefix()
public void setPrefix(String prefix)
public boolean isCopyMessage()
public void setCopyMessage(boolean copyMessage)
public void setBrokerService(BrokerService brokerService)
setBrokerService
in interface BrokerServiceAware
protected Destination getMirrorDestination(Destination destination) throws Exception
Exception
protected ActiveMQDestination getMirrorTopic(ActiveMQDestination original)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |