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 java.lang.Exception
- Throws:
java.lang.Exception
removeSubscription
void removeSubscription(ConnectionContext context,
Subscription sub)
throws java.lang.Exception
- Throws:
java.lang.Exception
send
void send(ConnectionContext context,
Message messageSend)
throws java.lang.Exception
- Throws:
java.lang.Exception
lock
boolean lock(MessageReference node,
LockOwner lockOwner)
acknowledge
void acknowledge(ConnectionContext context,
Subscription sub,
MessageAck ack,
MessageReference node)
throws java.io.IOException
- Throws:
java.io.IOException
gc
void gc()
getActiveMQDestination
ActiveMQDestination getActiveMQDestination()
getUsageManager
UsageManager getUsageManager()
dispose
void dispose(ConnectionContext context)
throws java.io.IOException
- Throws:
java.io.IOException
getDestinationStatistics
DestinationStatistics getDestinationStatistics()
getDeadLetterStrategy
DeadLetterStrategy getDeadLetterStrategy()
browse
Message[] browse()
getName
java.lang.String getName()
Copyright © 2010 Apache Software Foundation. All Rights Reserved.