Class JsonMetadataSplitter

  • All Implemented Interfaces:
    MessageSplitter

    @ComponentProfile(summary="Split a JSON Array into individual JSON objects, immediately turning it into metadata",
                      since="3.8.2",
                      tag="json,splitting")
    public class JsonMetadataSplitter
    extends LargeJsonArraySplitter
    Split a JSON array and immediately create metadata from the split payload.

    This is simply a convenience splitter implementation that does a combination of LargeJsonArraySplitter with JsonToMetadata in a single step; note that the split message is always empty.

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