[switchyard-issues] [JBoss JIRA] Created: (SWITCHYARD-300) @Transformer does not separate namespace and localPart

Martin Vecera (JIRA) jira-events at lists.jboss.org
Fri Jun 17 08:01:24 EDT 2011


@Transformer does not separate namespace and localPart
------------------------------------------------------

                 Key: SWITCHYARD-300
                 URL: https://issues.jboss.org/browse/SWITCHYARD-300
             Project: SwitchYard
          Issue Type: Bug
          Components: transformation
    Affects Versions: 0.1
            Reporter: Martin Vecera


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")

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the switchyard-issues mailing list