Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-8570

Improve XPath filter performance

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Undefined
    • None
    • None
    • broker-core
    • None

    Description

      1) In `JAXPXPathEvaluator` the XPath expression should be compiled.

      https://github.com/apache/activemq-artemis/blob/5f7faa47ccf30c31cce217c7b6dcf91563eeab67/artemis-selector/src/main/java/org/apache/activemq/artemis/selector/filter/JAXPXPathEvaluator.java#L57-L63

      2) Instead dumping the message body as String, at least for big (not large) messages, a streaming base approach should be used (XLST 3 supports streaming AFAIK)

      Attachments

        Activity

          People

            dbruscin Domenico Francesco Bruscino
            rhn-support-agagliar Antonio Gagliardi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: