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

Support @OperationTypes on detecting required transformer

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: tooling
    • Labels:
      None

      Description

      If service contract is Java, we can add @OperationTypes annotation on the interface to declare the name for input/output. It's useful to trigger JSON and XML transform. Let's support it on tooling when it detects required transformer.

      For example, camel-sap-binding quickstart needs Java<=>XML transformers between these interface, but tooling suggests Java<=>Java transformers now.
      https://github.com/jboss-switchyard/quickstarts/blob/2.0.0.Alpha3/camel-sap-binding/src/main/java/org/switchyard/quickstarts/camel/sap/binding/FlightBookingService.java
      https://github.com/jboss-switchyard/quickstarts/blob/2.0.0.Alpha3/camel-sap-binding/src/main/java/org/switchyard/quickstarts/camel/sap/binding/FlightBookingPromotedService.java

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bfitzpat Brian Fitzpatrick
                Reporter:
                igarashitm tomohisa igarashi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: