| |
|
| java.lang.Object org.jboss.mq.Subscription
Subscription | public class Subscription implements Serializable(Code) | | This class contains all the data needed to for a the provider to to
determine if a message can be routed to a consumer.
author: Hiram Chirino (Cojonudo14@hotmail.com) author: David Maplesden (David.Maplesden@orion.co.nz) author: Adrian Brock version: $Revision: 57198 $ |
clientConsumer | public transient Object clientConsumer(Code) | | The client consumer
|
destroyDurableSubscription | public boolean destroyDurableSubscription(Code) | | Should this message destroy the subscription?
|
messageSelector | public String messageSelector(Code) | | The selector which will filter out messages.
|
noLocal | public boolean noLocal(Code) | | Topics might not want locally produced messages.
|
subscriptionId | public int subscriptionId(Code) | | This gets set to a unique value at the SpyConnection.
|
accepts | public boolean accepts(SpyMessage.Header header) throws JMSException(Code) | | Determines the consumer would accept the message.
Parameters: header - the message header true when accepted, false otherwise throws: JMSException - for any error |
getSelector | public Selector getSelector() throws InvalidSelectorException(Code) | | Determines the consumer would accept the message.
the selector throws: InvalidSelectorException - for an invalid selector |
|
|
|