Annotation Interface Xml


@Target(TYPE) @Retention(RUNTIME) @Documented @MinMuleVersion("4.5.0") public @interface Xml
Allows the customization of the schema attributes. If absent then the runtime will calculate default values for each attribute. If present you can add all the attributes or just the ones you need.
Since:
1.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Location URI for the namespace.
    Extension's prefix.
  • Element Details

    • prefix

      String prefix
      Extension's prefix. If left empty it will create a default one based on the extension's name, removing the words "extension", "module" or "connector" at the end if they are present and hyphenating the resulting name.
       Mulesoft Extension           = mulesoft
       Cloud Service Connector      = cloud-service
       Extension                    = extension
       
      Default:
      ""
    • namespace

      String namespace
      Location URI for the namespace. If left empty it will default to "http://www.mulesoft.org/schema/mule/<<extension_namespace>>
      Default:
      ""