|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mq.Subscription
This class contains all the data needed to for a the provider to to determine if a message can be routed to a consumer.
Field Summary | |
java.lang.Object |
clientConsumer
The client consumer |
ConnectionToken (src) |
connectionToken
The connection token |
SpyDestination (src) |
destination
The queue we want to subscribe to. |
boolean |
destroyDurableSubscription
Should this message destroy the subscription? |
java.lang.String |
messageSelector
The selector which will filter out messages. |
boolean |
noLocal
Topics might not want locally produced messages. |
Selector (src) |
selector
The message selector |
int |
subscriptionId
This gets set to a unique value at the SpyConnection. |
Constructor Summary | |
Subscription()
|
Method Summary | |
boolean |
accepts(SpyMessage.Header (src) header)
Determines the consumer would accept the message. |
Selector (src) |
getSelector()
Determines the consumer would accept the message. |
Subscription (src) |
myClone()
Clone the subscription |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int subscriptionId
public SpyDestination (src) destination
public java.lang.String messageSelector
public boolean destroyDurableSubscription
public boolean noLocal
public transient Selector (src) selector
public transient ConnectionToken (src) connectionToken
public transient java.lang.Object clientConsumer
Constructor Detail |
public Subscription()
Method Detail |
public Selector (src) getSelector() throws InvalidSelectorException (src)
InvalidSelectorException (src)
- for an invalid selectorpublic boolean accepts(SpyMessage.Header (src) header) throws JMSException (src)
header
- the message header
JMSException (src)
- for any errorpublic Subscription (src) myClone()
public java.lang.String toString()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |