org.codehaus.activemq.service.boundedvm
Class TransientTopicSubscription
java.lang.Object
org.codehaus.activemq.service.boundedvm.TransientTopicSubscription
- public class TransientTopicSubscription
- extends java.lang.Object
A holder for Transient Topic consumer info and message routing
- Version:
- $Revision: 1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransientTopicSubscription
public TransientTopicSubscription(Filter filter,
ConsumerInfo info)
- Construct the TransientTopicSubscription
- Parameters:
filter
- info
-
isTarget
public boolean isTarget(ActiveMQMessage message)
throws JMSException
- determines if the Subscription is interested in the message
- Parameters:
message
-
- Returns:
- true if this Subscription will accept the message
- Throws:
JMSException
getConsumerInfo
public ConsumerInfo getConsumerInfo()
- Returns:
- Returns the consumerInfo.
setConsumerInfo
public void setConsumerInfo(ConsumerInfo consumerInfo)
- Parameters:
consumerInfo
- The consumerInfo to set.
Copyright © 2004 Protique, Ltd.. All Rights Reserved.