Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-300

@Transformer does not separate namespace and localPart

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 0.1
    • 0.2
    • transformation
    • None

    Description

      When I use @Transformer(to = "

      {urn:switchyard-quickstart-demo:orders:1.0}

      submitOrderResponse") annotation in a custom Java transformer, it is registered under a transform-to QName constructed like new QName("

      {urn:switchyard-quickstart-demo:orders:1.0}

      submitOrderResponse"). This does not separate namespace and localPart. Different constructor should be used - new QName("urn:switchyard-quickstart-demo:orders:1.0", "submitOrderResponse").

      IMHO it would be great if I could set each part in @Transformer annotation separately like:
      @Transformer(toNamescape = "urn:switchyard-quickstart-demo:orders:1.0", toLocalPart = "submitOrderResponse", fromNamespace = "", fromLocalPart = "java:java.lang.String")

      Attachments

        Activity

          People

            tfennelly_jira Tom Fennelly (Inactive)
            mvecera Martin Vecera
            Archiver:
            ranumula@redhat.com Raju Anumula

            Dates

              Created:
              Updated:
              Resolved:
              Archived: