Annotation Type MultiOutputDocumentTransformerMode


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    public @interface MultiOutputDocumentTransformerMode
    Special configuration options for MultiOutputDocumentTransformer.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean auditChildDocuments  
      boolean incremental
      Mode to indicate if output messages should be sent incrementally or not.
      boolean inheritParentStaticFields
      If true, copy connector static fields to all child documents created in the MultiOutputDocumentTransformer.
    • Element Detail

      • incremental

        boolean incremental
        Mode to indicate if output messages should be sent incrementally or not.

        Default is to use incremental mode if unset or if annotation is not used at all. If a stage knows that it will only ever generate a few small number of new documents/messages then setting incremental to false can decrease overall message traffic and improve performance.

        Returns:
        true if output messages will be sent incrementally.
        Default:
        true
      • inheritParentStaticFields

        boolean inheritParentStaticFields
        If true, copy connector static fields to all child documents created in the MultiOutputDocumentTransformer. The default is true.
        Returns:
        true if parent static fields should be copied to all child documents
        Default:
        true
      • auditChildDocuments

        boolean auditChildDocuments
        Returns:
        true if created child documents should be audited, false otherwise.
        Default:
        true