Class ExtractMetadataService

  • All Implemented Interfaces:
    AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, MessageEventGenerator, Service, StateManagedComponent

    @ComponentProfile(summary="Extract additional metadata values from an item of metadata",
                      since="3.9.0",
                      tag="service,metadata")
    public class ExtractMetadataService
    extends MetadataServiceImpl
    Extract additional metadata values from an item of metadata.

    Given a metadata key url containing /record/zeus/apollo if you have a regular expression /record/(.*)/(.*) with metadata keys recordId, childId then parentId=zeus, childId=apollo will be set when this service executes.

    In the adapter configuration file this class is aliased as extract-metadata-from-metadata which is the preferred alternative to the fully qualified classname when building your configuration.