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

Reference invoker does not work on composit reference

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Rejected
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: component-bean, core
    • Labels:
      None

      Description

      If you send a message by RefernceInvoker through a composite reference, then the message content is not present on the invoked endpoint. Another thing is that the property name is lower cased. ReferenceInvoker works well if it is used to invoke a component reference. So, these problems were maybe introduced by no-adjustment of message composers/context mappers after introduction of https://issues.jboss.org/browse/SWITCHYARD-1465.

      Reproducer is attached in the bugzilla.

      Steps to reproduce:
      1. run AS
      2. unpack reproducer
      3. execute: mvn clean package jboss-as:deploy exec:java jboss-as:undeploy

      Actual result:
      Greetings to John Doe from ServiceA [propertyA=nulltouchedByServiceB]
      Greetings to from ServiceB [propertyB=valueB]

      You can also see in the server log stdout that propetyA (correct name) is not set and propertya (wrong name) is set.

      Expected result:
      Greetings to John Doe from ServiceA [propertyA=valueAtouchedByServiceB]
      Greetings to John Doe from ServiceB [propertyB=valueB]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                trohovsky Tomas Rohovsky
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: