Interface SchemaResolver

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SchemaResolver
Interface for resolving schemas using pluggable strategies.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.core.FormatSchema
    resolve(org.apache.camel.Exchange exchange)
    Resolves a schema for the given exchange.
  • Method Details

    • resolve

      com.fasterxml.jackson.core.FormatSchema resolve(org.apache.camel.Exchange exchange)
      Resolves a schema for the given exchange.
      Parameters:
      exchange - the exchange for which the schema should be resolved
      Returns:
      the resolved format or null if no format is found