Class MessageSelector

java.lang.Object
com.swiftmq.ms.MessageSelector
All Implemented Interfaces:
Selector

public class MessageSelector extends Object implements Selector
  • Constructor Details

    • MessageSelector

      public MessageSelector(String conditionString)
  • Method Details

    • getConditionString

      public String getConditionString()
      Description copied from interface: Selector
      Returns the condition string in SQL92 syntax
      Specified by:
      getConditionString in interface Selector
      Returns:
      condition string
    • compile

      public void compile() throws javax.jms.InvalidSelectorException
      Throws:
      javax.jms.InvalidSelectorException
    • isSelected

      public boolean isSelected(MessageImpl message)
      Description copied from interface: Selector
      Returns true if the message matches the selector criteria
      Specified by:
      isSelected in interface Selector
      Parameters:
      message - the message
      Returns:
      true if the message matches
    • toString

      public String toString()
      Overrides:
      toString in class Object