|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.region.virtual.CompositeDestination
public abstract class CompositeDestination
Constructor Summary | |
---|---|
CompositeDestination()
|
Method Summary | |
---|---|
void |
create(Broker broker,
ConnectionContext context,
ActiveMQDestination destination)
|
java.util.Collection |
getForwardTo()
|
java.lang.String |
getName()
|
Destination |
intercept(Destination destination)
Creates a virtual destination from the physical destination |
boolean |
isCopyMessage()
|
boolean |
isForwardOnly()
|
void |
remove(Destination destination)
|
void |
setCopyMessage(boolean copyMessage)
Sets whether a copy of the message will be sent to each destination. |
void |
setForwardOnly(boolean forwardOnly)
Sets if the virtual destination is forward only (and so there is no physical queue to match the virtual queue) or if there is also a physical queue with the same name). |
void |
setForwardTo(java.util.Collection forwardDestinations)
Sets the list of destinations to forward to |
void |
setName(java.lang.String name)
Sets the name of this composite destination |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.activemq.broker.region.virtual.VirtualDestination |
---|
getVirtualDestination |
Constructor Detail |
---|
public CompositeDestination()
Method Detail |
---|
public Destination intercept(Destination destination)
VirtualDestination
intercept
in interface DestinationInterceptor
intercept
in interface VirtualDestination
public void create(Broker broker, ConnectionContext context, ActiveMQDestination destination)
create
in interface DestinationInterceptor
public void remove(Destination destination)
remove
in interface DestinationInterceptor
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Collection getForwardTo()
public void setForwardTo(java.util.Collection forwardDestinations)
public boolean isForwardOnly()
public void setForwardOnly(boolean forwardOnly)
public boolean isCopyMessage()
public void setCopyMessage(boolean copyMessage)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |