Class PropertySet

java.lang.Object
com.swiftmq.impl.streams.comp.message.PropertySet

public class PropertySet extends Object
Facade to wrap a Set of Properties of a javax.jms.Message
Author:
IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
  • Method Details

    • notEquals

      public PropertySet notEquals(String prefix)
      Returns a new PropertySet that contains all Properties which name is not equals the prefix.
      Parameters:
      prefix - Prefix
      Returns:
      PropertySet
    • startsWith

      public PropertySet startsWith(String prefix)
      Returns a new PropertySet that contains all Properties which name starts with the prefix.
      Parameters:
      prefix - Prefix
      Returns:
      PropertySet
    • notStartsWith

      public PropertySet notStartsWith(String prefix)
      Returns a new PropertySet that contains all Properties which name do NOT starts with the prefix.
      Parameters:
      prefix - Prefix
      Returns:
      PropertySet
    • endsWith

      public PropertySet endsWith(String suffix)
      Returns a new PropertySet that contains all Properties which name ends with the suffix.
      Parameters:
      suffix - Suffix
      Returns:
      PropertySet
    • notEndsWith

      public PropertySet notEndsWith(String suffix)
      Returns a new PropertySet that contains all Properties which name does NOT end with the suffix.
      Parameters:
      suffix - Suffix
      Returns:
      PropertySet
    • select

      public PropertySet select(String regex)
      Returns a new PropertySet that contains all Properties which name matches the regular expression.
      Parameters:
      regex - Regular Expression
      Returns:
      PropertySet
    • forEach

      public void forEach(ForEachPropertyCallback callback)
      Invokes the callback for each Property of this PropertySet
      Parameters:
      callback - Callback