|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.region.virtual.VirtualTopic
public class VirtualTopic
Creates Virtual Topics using a prefix and postfix. The virtual destination creates a wildcard that is then used to look up all active queue subscriptions which match.
Constructor Summary | |
---|---|
VirtualTopic()
|
Method Summary | |
---|---|
String |
getName()
|
String |
getPostfix()
|
String |
getPrefix()
|
ActiveMQDestination |
getVirtualDestination()
Returns the virtual destination |
Destination |
intercept(Destination destination)
Creates a virtual destination from the physical destination |
void |
remove(Destination destination)
|
void |
setName(String name)
|
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 VirtualTopic()
Method Detail |
---|
public ActiveMQDestination getVirtualDestination()
VirtualDestination
getVirtualDestination
in interface VirtualDestination
public Destination intercept(Destination destination)
VirtualDestination
intercept
in interface DestinationInterceptor
intercept
in interface VirtualDestination
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 String getName()
public void setName(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |