Class VirtualDestinationInterceptor
- java.lang.Object
-
- org.apache.activemq.broker.region.virtual.VirtualDestinationInterceptor
-
- All Implemented Interfaces:
DestinationInterceptor
public class VirtualDestinationInterceptor extends Object implements DestinationInterceptor
Implements Virtual Topics.
-
-
Constructor Summary
Constructors Constructor Description VirtualDestinationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(Broker broker, ConnectionContext context, ActiveMQDestination destination)
protected Destination
createCompositeDestination(Destination destination, List<Destination> destinations)
VirtualDestination[]
getVirtualDestinations()
Destination
intercept(Destination destination)
void
remove(Destination destination)
void
setVirtualDestinations(VirtualDestination[] virtualDestinations)
String
toString()
-
-
-
Method Detail
-
intercept
public Destination intercept(Destination destination)
- Specified by:
intercept
in interfaceDestinationInterceptor
-
create
public void create(Broker broker, ConnectionContext context, ActiveMQDestination destination) throws Exception
- Specified by:
create
in interfaceDestinationInterceptor
- Throws:
Exception
-
remove
public void remove(Destination destination)
- Specified by:
remove
in interfaceDestinationInterceptor
-
getVirtualDestinations
public VirtualDestination[] getVirtualDestinations()
-
setVirtualDestinations
public void setVirtualDestinations(VirtualDestination[] virtualDestinations)
-
createCompositeDestination
protected Destination createCompositeDestination(Destination destination, List<Destination> destinations)
-
-