Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-890

Add support for expression on tokenizeXml

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • 2.12.0.redhat-61379
    • None
    • None

    Description

      In order to be able to use tokenization elements based on the type of the to be processed message I would like to request for support for expressions inside the tokenizeXML DSL element (http://camel.apache.org/splitter.html).

      One use-case would be to determine the splitting element by identifying the type of the document in a processor and then provide this information via an exchange property which then can be used inside the attribute of tokenizeXml that supports expressions.

      The xpath DSL is not really an alternative as it comes with memory and processing time costs and doesn't work in streaming mode.

      My proposal would be to add the following methods to
      org.apache.camel.builder.ExpressionClause:

      public T tokenizeXML(Expression tagName, int group)
      public T tokenizeXML(Expression tagName)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-gps-jcordes Jochen Cordes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: