|
||||||||||
| 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 | |
|---|---|
java.lang.String |
getName()
|
java.lang.String |
getPostfix()
|
java.lang.String |
getPrefix()
|
protected ActiveMQDestination |
getQueueConsumersWildcard(ActiveMQDestination original)
|
ActiveMQDestination |
getVirtualDestination()
Returns the virtual destination |
Destination |
intercept(Destination destination)
Creates a virtual destination from the physical destination |
void |
setName(java.lang.String name)
|
void |
setPostfix(java.lang.String postfix)
Sets any postix used to identify the queue consumers |
void |
setPrefix(java.lang.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 java.lang.String getPostfix()
public void setPostfix(java.lang.String postfix)
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
public java.lang.String getName()
public void setName(java.lang.String name)
protected ActiveMQDestination getQueueConsumersWildcard(ActiveMQDestination original)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||