jrun.jms.core.selector
Class JMSSelector

java.lang.Object
  |
  +--jrun.jms.core.selector.JMSSelector

public class JMSSelector
extends java.lang.Object

Provides JMS selector capability to a MessageConsumer Uses a SQL parser written in SQLParser.jj

Author:
Farrukh Najmi

Field Summary
static Logger logger
           
 
Constructor Summary
JMSSelector(java.lang.String pattern)
          Class Constructor.
 
Method Summary
 java.lang.String getPattern()
          Returns the pattern used by this selector
 boolean match(javax.jms.Message msg)
          Method Declaration.
 void setPattern(java.lang.String p)
          Sets the pattern that will be used by this selector to perform matches Must conform to SQL-92 specification for a SQL pattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final Logger logger
Constructor Detail

JMSSelector

public JMSSelector(java.lang.String pattern)
Class Constructor.
Parameters:
pattern -  
See Also:
Method Detail

getPattern

public java.lang.String getPattern()
Returns the pattern used by this selector

setPattern

public void setPattern(java.lang.String p)
                throws javax.jms.InvalidSelectorException,
                       javax.jms.JMSException
Sets the pattern that will be used by this selector to perform matches Must conform to SQL-92 specification for a SQL pattern

match

public boolean match(javax.jms.Message msg)
              throws ParseException,
                     javax.jms.JMSException
Method Declaration.
Parameters:
msg -  
Returns:
 
Throws:
javax.jms.JMSException -  
ParseException -  
See Also:


Copyright � 2002 Macromedia Corporation. All Rights Reserved.