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 $

Method Summary
 void acknowledge(ConnectionContext context, Subscription sub, MessageAck ack, MessageReference node)
           
 void addSubscription(ConnectionContext context, Subscription sub)
           
 Message[] browse()
           
 void dispose(ConnectionContext context)
           
 void gc()
           
 ActiveMQDestination getActiveMQDestination()
           
 DeadLetterStrategy getDeadLetterStrategy()
           
 DestinationStatistics getDestinationStatistics()
           
 java.lang.String getName()
           
 UsageManager getUsageManager()
           
 boolean lock(MessageReference node, LockOwner lockOwner)
           
 void removeSubscription(ConnectionContext context, Subscription sub)
           
 void send(ConnectionContext context, Message messageSend)
           
 
Methods inherited from interface org.apache.activemq.Service
start, stop
 

Method Detail

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 © 2011 Apache Software Foundation. All Rights Reserved.