|
||||||||||
| 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 VirtualDestinationpublic Destination intercept(Destination destination)
VirtualDestination
intercept in interface DestinationInterceptorintercept in interface VirtualDestinationpublic void remove(Destination destination)
remove in interface DestinationInterceptorpublic 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 | |||||||||