SelectorTranslator (ActiveMQ Artemis Web 1.1.0.wildfly-010 API)
Date: 2015-12-18

org.apache.activemq.artemis.jms.client

## Class SelectorTranslator

- java.lang.Object
- - org.apache.activemq.artemis.jms.client.SelectorTranslator

-     public class SelectorTranslator
      extends Object

  This class converts a JMS selector expression into an ActiveMQ Artemis core filter expression. JMS selector and ActiveMQ Artemis filters use the same syntax but have different identifiers. We basically just need to replace the JMS header and property Identifier names with the corresponding ActiveMQ Artemis field and header Identifier names. We must be careful not to substitute any literals, or identifiers whose name contains the name of one we want to substitute. This makes it less trivial than a simple search and replace.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SelectorTranslator()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `convertToActiveMQFilterString(String selectorString)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SelectorTranslator

          public SelectorTranslator()

  - ### Method Detail

    - #### convertToActiveMQFilterString

          public static String convertToActiveMQFilterString(String selectorString)

Copyright © 2015. All rights reserved.