12.6. Configuring a Red Hat JBoss Data Virtualization VDB Sequencer


  1. Include the relevant libraries

    Include modeshape-sequencer-teiid-VERSION.jar in your application.
  2. Choose one of the following for sequencing configuration

    • Define sequencing configuration based on standard example provided in SOA-ROOT/eds/modeshape/resources/modeshape-config-standard.xml:
      <mode:sequencer jcr:name="Teiid VDB Sequencer" mode:classname="org.modeshape.sequencer.teiid.VdbSequencer">
        <mode:description>
          Sequences Teiid Virtual Databases (e.g., *.vdb) loaded under '/files', extracting the VDB metadata and the structure defined in the VDB's relational models.
        </mode:description>
        <mode:pathExpression>
          eds-store:default:/files(//)(*.vdb[*])/jcr:content[@jcr:data] => eds-store:default:/sequenced/teiid/vdbs$1
        </mode:pathExpression>
      </mode:sequencer>
      
      Copy to Clipboard Toggle word wrap
    • Configure via org.modeshape.jcr.JcrConfiguration:
      JcrConfiguration config = ...
      
      config.sequencer("Teiid VDB Sequencer")
            .usingClass("org.modeshape.sequencer.teiid.VdbSequencer")
            .loadedFromClasspath()
            .setDescription("Sequences Teiid Virtual Databases (e.g., *.vdb) loaded under '/files', extracting the VDB metadata and the structure defined in the VDB's relational models.")
            .sequencingFrom("/files(//)(*.vdb[*])/jcr:content[@jcr:data]")
            .andOutputtingTo("/sequenced/teiid/vdbs$1");
      Copy to Clipboard Toggle word wrap

    Note

    Refer to SOA-ROOT/eds/modeshape/resources/modeshape-config-standard.xml for more information.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat