Interface ChainInputMetadataContext

All Superinterfaces:
org.mule.runtime.api.lifecycle.Disposable, MetadataContext

@MinMuleVersion("4.7.0") @DoNotEnforceMinMuleVersion @Experimental public interface ChainInputMetadataContext extends MetadataContext
MetadataContext specialization adding information relevant to ChainInputTypeResolver instances. NOTE: Experimental feature. Backwards compatibility is not guaranteed.
Since:
0.9.0
  • Method Details

    • getParameterResolvedType

      org.mule.metadata.api.model.MetadataType getParameterResolvedType(String parameterName) throws NoSuchElementException, org.mule.runtime.api.metadata.MetadataResolvingException
      Returns the resolved MetadataType from an input parameter of the owning component. This is useful when the chain/route will be executed with a message that leverages said parameter's content.
      Parameters:
      parameterName - the name of the parameter
      Returns:
      the parameter's resolved MetadataType
      Throws:
      NoSuchElementException - if no parameter of that name exists in the owning component.
      org.mule.runtime.api.metadata.MetadataResolvingException
    • getInputMessageMetadataType

      org.mule.metadata.message.api.MessageMetadataType getInputMessageMetadataType()
      Returns:
      a MessageMetadataType describing the typed message that initially entered the root component (scope/router)