public abstract class CompositeDestination extends Object implements VirtualDestination
Constructor and Description |
---|
CompositeDestination() |
Modifier and Type | Method and Description |
---|---|
void |
create(Broker broker,
ConnectionContext context,
ActiveMQDestination destination) |
boolean |
equals(Object obj) |
Collection |
getForwardTo() |
ActiveMQDestination |
getMappedDestinations()
Returns mapped destination(s)
|
String |
getName() |
int |
hashCode() |
Destination |
intercept(Destination destination)
Creates a virtual destination from the physical destination
|
boolean |
isConcurrentSend() |
boolean |
isCopyMessage()
Deprecated.
|
boolean |
isForwardOnly() |
void |
remove(Destination destination) |
void |
setConcurrentSend(boolean concurrentSend)
when true, sends are done in parallel with the broker executor
|
void |
setCopyMessage(boolean copyMessage)
Deprecated.
this option will be removed in a later release, message are always copied.
|
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(Collection forwardDestinations)
Sets the list of destinations to forward to
|
void |
setName(String name)
Sets the name of this composite destination
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getVirtualDestination, interceptMappedDestination
public CompositeDestination()
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 Collection getForwardTo()
public void setForwardTo(Collection forwardDestinations)
public boolean isForwardOnly()
public void setForwardOnly(boolean forwardOnly)
@Deprecated public boolean isCopyMessage()
@Deprecated public void setCopyMessage(boolean copyMessage)
public void setConcurrentSend(boolean concurrentSend)
public boolean isConcurrentSend()
public ActiveMQDestination getMappedDestinations()
VirtualDestination
getMappedDestinations
in interface VirtualDestination
Copyright © 2005–2022 FuseSource, Corp.. All rights reserved.