JBoss.org Community Documentation
The current release of JBoss DNA comes with two sequencers: one that extracts metadata from a variety of image file formats, and another that extracts some of the ID3 metadata from MP3 audio files. However, it's very easy to create your own sequencers and to then configure JBoss DNA to use them in your own application.
Creating a custom sequencer involves the following steps:
Create a Maven 2 project for your sequencer;
Implement the org.jboss.dna.spi.sequencers.StreamSequencer
interface with your own implementation, and create unit tests to verify
the functionality and expected behavior;
Add the sequencer configuration to the JBoss DNA SequencingService
in your application,
as described in the previous chapter; and
Deploy the JAR file with your implementation (as well as any dependencies) and make them available to JBoss DNA in your application.
It's that simple.