org.apache.activemq.broker.region
Interface Destination
- All Superinterfaces:
- Service
- All Known Implementing Classes:
- CompositeDestinationInterceptor, DestinationFilter, Queue, Topic, VirtualTopicInterceptor
public interface Destination
- extends Service
- Version:
- $Revision: 1.12 $
addSubscription
void addSubscription(ConnectionContext context,
Subscription sub)
throws Exception
- Throws:
Exception
removeSubscription
void removeSubscription(ConnectionContext context,
Subscription sub)
throws Exception
- Throws:
Exception
send
void send(ConnectionContext context,
Message messageSend)
throws Exception
- Throws:
Exception
lock
boolean lock(MessageReference node,
LockOwner lockOwner)
acknowledge
void acknowledge(ConnectionContext context,
Subscription sub,
MessageAck ack,
MessageReference node)
throws IOException
- Throws:
IOException
gc
void gc()
getActiveMQDestination
ActiveMQDestination getActiveMQDestination()
getUsageManager
UsageManager getUsageManager()
dispose
void dispose(ConnectionContext context)
throws IOException
- Throws:
IOException
getDestinationStatistics
DestinationStatistics getDestinationStatistics()
getDeadLetterStrategy
DeadLetterStrategy getDeadLetterStrategy()
browse
Message[] browse()
getName
String getName()
Copyright © 2011 Apache Software Foundation. All Rights Reserved.