org.activemq.service.boundedvm
Class TransientTopicSubscription

java.lang.Object
  extended by org.activemq.service.boundedvm.TransientSubscription
      extended by org.activemq.service.boundedvm.TransientTopicSubscription

public class TransientTopicSubscription
extends TransientSubscription

A holder for Transient Topic consumer info and message routing

Version:
$Revision: 1.1.1.1 $

Field Summary
 
Fields inherited from class org.activemq.service.boundedvm.TransientSubscription
brokerName, client, clusterName, consumerInfo, filter
 
Constructor Summary
TransientTopicSubscription(Filter filter, ConsumerInfo info, BrokerClient client)
          Construct the TransientTopicSubscription
 
Method Summary
 boolean isDurableTopic()
           
 boolean isTarget(ActiveMQMessage message)
          determines if the Subscription is interested in the message
 
Methods inherited from class org.activemq.service.boundedvm.TransientSubscription
close, getConsumerInfo, getDestination, getFilter, isLocalSubscription, setConsumerInfo, setFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransientTopicSubscription

public TransientTopicSubscription(Filter filter,
                                  ConsumerInfo info,
                                  BrokerClient client)
Construct the TransientTopicSubscription

Parameters:
filter -
info -
Method Detail

isTarget

public boolean isTarget(ActiveMQMessage message)
                 throws JMSException
determines if the Subscription is interested in the message

Specified by:
isTarget in class TransientSubscription
Parameters:
message -
Returns:
true if this Subscription will accept the message
Throws:
JMSException

isDurableTopic

public boolean isDurableTopic()


Copyright © 2004-2009 Protique, Ltd.. All Rights Reserved.