Class JsonPathSplitter

  • All Implemented Interfaces:
    MessageSplitter

    @ComponentProfile(summary="Split a JSON Array specified by a JSON path into indvidual JSON objects",
                      tag="json,splitting")
    public class JsonPathSplitter
    extends MessageSplitterImp
    JSON path splitter.

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

    • Constructor Detail

      • JsonPathSplitter

        public JsonPathSplitter()
    • Method Detail

      • getJsonSource

        public DataInputParameter<java.lang.String> getJsonSource()
        Get the JSON source.
        Returns:
        The JSON source.
      • setJsonSource

        public void setJsonSource​(DataInputParameter<java.lang.String> jsonSource)
        Set the JSON source.
        Parameters:
        jsonSource - The JSON source.
      • getJsonPath

        public DataInputParameter<java.lang.String> getJsonPath()
        Get the JSON path.
        Returns:
        The JSON path.
      • setJsonPath

        public void setJsonPath​(DataInputParameter<java.lang.String> jsonPath)
        Set the JSON path.
        Parameters:
        jsonPath - The JSON path.
      • getMessageSplitter

        public MessageSplitter getMessageSplitter()
        Get the message splitter.
        Returns:
        The message splitter.
      • setMessageSplitter

        public void setMessageSplitter​(MessageSplitter messageSplitter)
        Set the message splitter.
        Parameters:
        messageSplitter - The message splitter.